X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ether%2Frte_ethdev_vdev.h;h=4d2c3e2bed028532322333f8e3d8681ec1d086aa;hb=8b94c81e33419d0284a033529f8d1a47055afa24;hp=0b475357a35d924491772716f9f85add3ef1d6e7;hpb=7f0a669e7b048f14f5bb6be7df2bb2e4670b4aae;p=dpdk.git diff --git a/lib/librte_ether/rte_ethdev_vdev.h b/lib/librte_ether/rte_ethdev_vdev.h index 0b475357a3..4d2c3e2bed 100644 --- a/lib/librte_ether/rte_ethdev_vdev.h +++ b/lib/librte_ether/rte_ethdev_vdev.h @@ -73,12 +73,10 @@ rte_eth_vdev_allocate(struct rte_vdev_device *dev, size_t private_data_size) } eth_dev->device = &dev->device; - eth_dev->driver = NULL; eth_dev->intr_handle = NULL; eth_dev->data->kdrv = RTE_KDRV_NONE; eth_dev->data->numa_node = dev->device.numa_node; - eth_dev->data->drv_name = dev->device.driver->name; return eth_dev; }