]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/vhost/rte_eth_vhost.c
ethdev: get rid of device type
[dpdk.git] / drivers / net / vhost / rte_eth_vhost.c
index 80c3f4c2e5d1011cfbe9d7fd1e23b3d0940e0439..d0bffbd2fdd2781611fc4fa57d59ec0a4e421939 100644 (file)
@@ -714,7 +714,7 @@ eth_dev_vhost_create(const char *name, char *iface_name, int16_t queues,
                goto error;
 
        /* reserve an ethdev entry */
-       eth_dev = rte_eth_dev_allocate(name, RTE_ETH_DEV_VIRTUAL);
+       eth_dev = rte_eth_dev_allocate(name);
        if (eth_dev == NULL)
                goto error;