examples: do not probe pci twice
[dpdk.git] / examples / qos_sched / init.c
old mode 100755 (executable)
new mode 100644 (file)
index cbfd63f..f38802e
@@ -304,9 +304,6 @@ int app_init(void)
        char ring_name[MAX_NAME_LEN];
        char pool_name[MAX_NAME_LEN];
 
-       if (rte_eal_pci_probe() < 0)
-               rte_exit(EXIT_FAILURE, "Cannot probe PCI\n");
-
        if (rte_eth_dev_count() == 0)
                rte_exit(EXIT_FAILURE, "No Ethernet port - bye\n");