examples: do not probe pci twice
[dpdk.git] / examples / exception_path / main.c
index f286bf2..b485976 100644 (file)
@@ -567,11 +567,6 @@ main(int argc, char** argv)
                return -1;
        }
 
-       /* Scan PCI bus for recognised devices */
-       ret = rte_eal_pci_probe();
-       if (ret < 0)
-               FATAL_ERROR("Could not probe PCI (%d)", ret);
-
        /* Get number of ports found in scan */
        nb_sys_ports = rte_eth_dev_count();
        if (nb_sys_ports == 0)