From: Ferruh Yigit Date: Wed, 19 Apr 2017 09:52:09 +0000 (+0100) Subject: net/xenvirt: fix build error X-Git-Tag: spdx-start~3642 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=74df3fd302a638c00cb9d33ef6bcd5ef15643d65;p=dpdk.git net/xenvirt: fix build error build error: .../drivers/net/xenvirt/rte_eth_xenvirt.c:676:9: error: ‘struct rte_eth_dev’ has no member named ‘driver’ eth_dev->driver = NULL; ^~ ethdev driver removed, removing assignment to it to fix the build error Fixes: 9dca21fb80b6 ("ethdev: remove ethdev driver") Signed-off-by: Ferruh Yigit --- diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c index 6ec8c08ff1..7bd29fae7a 100644 --- a/drivers/net/xenvirt/rte_eth_xenvirt.c +++ b/drivers/net/xenvirt/rte_eth_xenvirt.c @@ -673,7 +673,6 @@ eth_dev_xenvirt_create(const char *name, const char *params, eth_dev->data->dev_flags = RTE_ETH_DEV_DETACHABLE; eth_dev->data->kdrv = RTE_KDRV_NONE; eth_dev->data->drv_name = pmd_xenvirt_drv.driver.name; - eth_dev->driver = NULL; eth_dev->data->numa_node = numa_node; eth_dev->rx_pkt_burst = eth_xenvirt_rx;