New upstream version 18.08
[deb_dpdk.git] / doc / guides / sample_app_ug / rxtx_callbacks.rst
index 0bb0d3e..85d96d8 100644 (file)
@@ -83,9 +83,6 @@ comments:
         int retval;
         uint16_t q;
 
-        if (port >= rte_eth_dev_count())
-            return -1;
-
         /* Configure the Ethernet device. */
         retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf);
         if (retval != 0)