aboutsummaryrefslogtreecommitdiffstats
path: root/examples/link_status_interrupt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/link_status_interrupt')
-rw-r--r--examples/link_status_interrupt/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c
index 99815989..04dc3e40 100644
--- a/examples/link_status_interrupt/main.c
+++ b/examples/link_status_interrupt/main.c
@@ -580,9 +580,6 @@ main(int argc, char **argv)
if (nb_ports == 0)
rte_panic("No Ethernet port - bye\n");
- if (nb_ports > RTE_MAX_ETHPORTS)
- nb_ports = RTE_MAX_ETHPORTS;
-
/*
* Each logical core is assigned a dedicated TX queue on each port.
*/