Imported Upstream version 16.07-rc1
[deb_dpdk.git] / examples / link_status_interrupt / main.c
index 9981598..04dc3e4 100644 (file)
@@ -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.
         */