From 74df3fd302a638c00cb9d33ef6bcd5ef15643d65 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Wed, 19 Apr 2017 10:52:09 +0100 Subject: [PATCH] net/xenvirt: fix build error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/net/xenvirt/rte_eth_xenvirt.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.20.1