]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/eal_common_vdev.c
devargs: make device types generic
[dpdk.git] / lib / librte_eal / common / eal_common_vdev.c
index 7b857a6ba4cba5de7cc01f65a6c0c704c5616880..5d81ca8707395b9f2fb1a4e242890e9ddf0934bf 100644 (file)
@@ -176,7 +176,6 @@ alloc_devargs(const char *name, const char *args)
        if (!devargs)
                return NULL;
 
-       devargs->type = RTE_DEVTYPE_VIRTUAL;
        devargs->bus = rte_bus_find_by_name("vdev");
        if (args)
                devargs->args = strdup(args);