summaryrefslogtreecommitdiff
path: root/examples/multi_process/client_server_mp
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2014-04-21 10:59:39 -0400
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-05-20 14:28:26 +0200
commite5ffdd1457c0fb4e8365f524ee2529ac726edcf3 (patch)
treecfe1218173b00d44484e69f7329ac92d666b3c3d /examples/multi_process/client_server_mp
parent2e87457ef99faef83ae5671d756f4f3f0a66286f (diff)
downloaddpdk-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.zip
dpdk-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.tar.gz
dpdk-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.tar.xz
ethdev: remove rte_pmd_init_all function
Now that we've converted all the pmds in dpdk to use the driver registration macro, rte_pmd_init_all has become empty. As theres no reason to keep it around anymore, just remove it and fix up all the eample callers. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'examples/multi_process/client_server_mp')
-rw-r--r--examples/multi_process/client_server_mp/shared/init_drivers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multi_process/client_server_mp/shared/init_drivers.h b/examples/multi_process/client_server_mp/shared/init_drivers.h
index afa03bd..5d9a90f 100644
--- a/examples/multi_process/client_server_mp/shared/init_drivers.h
+++ b/examples/multi_process/client_server_mp/shared/init_drivers.h
@@ -40,7 +40,7 @@
static inline int
init_drivers(void)
{
- if (rte_pmd_init_all() < 0 || rte_eal_pci_probe() < 0)
+ if (rte_eal_pci_probe() < 0)
return -1;
return 0;