]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_kni.c
ethdev: remove rte_pmd_init_all function
[dpdk.git] / app / test / test_kni.c
index cd87c3c0699dbde4cf061e0765a6359481e94fa9..d37758bbce51eb7db736ecfa2b8079b7e98ce4f5 100644 (file)
@@ -37,8 +37,6 @@
 #include <string.h>
 #include <sys/wait.h>
 
-#include <cmdline_parse.h>
-
 #include "test.h"
 
 #ifdef RTE_LIBRTE_KNI
@@ -511,11 +509,6 @@ test_kni(void)
                printf("fail to create mempool for kni\n");
                return -1;
        }
-       ret = rte_pmd_init_all();
-       if (ret < 0) {
-               printf("fail to initialize PMD\n");
-               return -1;
-       }
        ret = rte_eal_pci_probe();
        if (ret < 0) {
                printf("fail to probe PCI devices\n");