]> git.droids-corp.org - dpdk.git/blobdiff - examples/vhost_xen/main.c
ethdev: remove rte_pmd_init_all function
[dpdk.git] / examples / vhost_xen / main.c
index eafc0aa290c9d9c6205da389ff519589c4399c06..2ec44ee8f92dfcf4f33a839c87c0604176396152 100644 (file)
@@ -1464,7 +1464,7 @@ MAIN(int argc, char *argv[])
        if (ret < 0)
                rte_exit(EXIT_FAILURE, "Invalid argument\n");
 
-       if (rte_pmd_init_all() != 0 || rte_eal_pci_probe() != 0)
+       if (rte_eal_pci_probe() != 0)
                rte_exit(EXIT_FAILURE, "Error with NIC driver initialization\n");
 
        for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id ++)