examples: do not probe pci twice
[dpdk.git] / examples / multi_process / client_server_mp / mp_server / init.c
index a84d1ee..30518c0 100644 (file)
@@ -66,7 +66,6 @@
 #include <rte_cycles.h>
 
 #include "common.h"
-#include "init_drivers.h"
 #include "args.h"
 #include "init.h"
 #include "main.h"
@@ -308,11 +307,6 @@ init(int argc, char *argv[])
        argc -= retval;
        argv += retval;
 
-       /* initialise the nic drivers */
-       retval = init_drivers();
-       if (retval != 0)
-               rte_exit(EXIT_FAILURE, "Cannot initialise drivers\n");
-
        /* get total number of ports */
        total_ports = rte_eth_dev_count();