]> git.droids-corp.org - dpdk.git/blobdiff - examples/qos_meter/main.c
examples: do not probe pci twice
[dpdk.git] / examples / qos_meter / main.c
index b4b8c4f01634dd52afadaa62bd19e2b91f871a47..c02ac508514080b550042f43c787a7310c8ed4ed 100644 (file)
@@ -386,9 +386,6 @@ MAIN(int argc, char **argv)
        if (pool == NULL)
                rte_exit(EXIT_FAILURE, "Buffer pool creation error\n");
 
-       if (rte_eal_pci_probe() < 0)
-               rte_exit(EXIT_FAILURE, "PCI probe error\n");
-
        /* NIC init */
        ret = rte_eth_dev_configure(port_rx, 1, 1, &port_conf);
        if (ret < 0)