]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_kni.c
examples: do not probe pci twice
[dpdk.git] / app / test / test_kni.c
index 2860bf3bff4454adaf70481925a80d35279f427b..108113174bdf1c1b1d7143c27064f4b94984b458 100644 (file)
@@ -508,11 +508,6 @@ test_kni(void)
                printf("fail to create mempool for kni\n");
                return -1;
        }
-       ret = rte_eal_pci_probe();
-       if (ret < 0) {
-               printf("fail to probe PCI devices\n");
-               return -1;
-       }
 
        nb_ports = rte_eth_dev_count();
        if (nb_ports == 0) {