]> git.droids-corp.org - dpdk.git/blobdiff - examples/load_balancer/init.c
examples: do not probe pci twice
[dpdk.git] / examples / load_balancer / init.c
index 2f00a7085c680d8068fe4d0020c7c47402459765..a30070656c9d46944d13f6126da1dd98ae83f9e6 100644 (file)
@@ -450,10 +450,6 @@ app_init_nics(void)
        int ret;
        uint32_t n_rx_queues, n_tx_queues;
 
-       if (rte_eal_pci_probe() < 0) {
-               rte_panic("Cannot probe PCI\n");
-       }
-
        /* Init NIC ports and queues, then start the ports */
        for (port = 0; port < APP_MAX_NIC_PORTS; port ++) {
                struct rte_mempool *pool;