examples: do not probe pci twice
[dpdk.git] / examples / netmap_compat / bridge / bridge.c
index 898277e..d9ceb42 100644 (file)
@@ -294,10 +294,6 @@ int main(int argc, char *argv[])
        if (ports.num == 0)
                rte_exit(EXIT_FAILURE, "no ports specified\n");
 
-       err = rte_eal_pci_probe();
-       if (err < 0)
-               rte_exit(EXIT_FAILURE, "rte_eal_pci_probe(): error %d\n", err);
-
        if (rte_eth_dev_count() < 1)
                rte_exit(EXIT_FAILURE, "Not enough ethernet ports available\n");