examples: do not probe pci twice
[dpdk.git] / examples / link_status_interrupt / main.c
index 1a87551..b8b7571 100644 (file)
@@ -663,9 +663,6 @@ MAIN(int argc, char **argv)
        if (lsi_pktmbuf_pool == NULL)
                rte_panic("Cannot init mbuf pool\n");
 
-       if (rte_eal_pci_probe() < 0)
-               rte_panic("Cannot probe PCI\n");
-
        nb_ports = rte_eth_dev_count();
        if (nb_ports == 0)
                rte_panic("No Ethernet port - bye\n");