ethdev: get rid of device type
[dpdk.git] / drivers / net / xenvirt / rte_eth_xenvirt.c
index 8cb26ce..2ffa54c 100644 (file)
@@ -654,7 +654,7 @@ eth_dev_xenvirt_create(const char *name, const char *params,
                goto err;
 
        /* 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 err;