summaryrefslogtreecommitdiff
path: root/examples/l2fwd-keepalive/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/l2fwd-keepalive/main.c')
-rw-r--r--examples/l2fwd-keepalive/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c
index 1afab54..5c349cb 100644
--- a/examples/l2fwd-keepalive/main.c
+++ b/examples/l2fwd-keepalive/main.c
@@ -527,7 +527,6 @@ int
main(int argc, char **argv)
{
struct lcore_queue_conf *qconf;
- struct rte_eth_dev_info dev_info;
int ret;
uint16_t nb_ports;
uint16_t nb_ports_available;
@@ -589,8 +588,6 @@ main(int argc, char **argv)
last_port = portid;
nb_ports_in_mask++;
-
- rte_eth_dev_info_get(portid, &dev_info);
}
if (nb_ports_in_mask % 2) {
printf("Notice: odd number of ports in portmask.\n");