ethdev: remove rte_pmd_init_all function
[dpdk.git] / examples / ipv4_multicast / main.c
index 8f61af0..da4e09d 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
@@ -714,7 +714,7 @@ MAIN(int argc, char **argv)
        struct lcore_queue_conf *qconf;
        int ret;
        uint16_t queueid;
-       unsigned lcore_id = 0, rx_lcore_id = 0;;
+       unsigned lcore_id = 0, rx_lcore_id = 0;
        uint32_t n_tx_queue, nb_lcores;
        uint8_t portid;
 
@@ -753,10 +753,6 @@ MAIN(int argc, char **argv)
        if (clone_pool == NULL)
                rte_exit(EXIT_FAILURE, "Cannot init clone mbuf pool\n");
 
-       /* init driver */
-       if (rte_pmd_init_all() < 0)
-               rte_exit(EXIT_FAILURE, "Cannot init pmd\n");
-
        if (rte_eal_pci_probe() < 0)
                rte_exit(EXIT_FAILURE, "Cannot probe PCI\n");