From: Stephen Hemminger Date: Thu, 11 Jul 2019 20:03:03 +0000 (-0700) Subject: net/vhost: remove redundant declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fa119dc472aad5b2fbdcaf600786d396ad4f804c;hp=a239d86244c01ac06c7a597c58086020834df887;p=dpdk.git net/vhost: remove redundant declaration The rte_vdev_driver is declared twice. The first one is not necessary. Fixes: 050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index 0b61e37a19..57f382c65f 100644 --- a/drivers/net/vhost/rte_eth_vhost.c +++ b/drivers/net/vhost/rte_eth_vhost.c @@ -1199,8 +1199,6 @@ static const struct eth_dev_ops ops = { .rx_queue_intr_disable = eth_rxq_intr_disable, }; -static struct rte_vdev_driver pmd_vhost_drv; - static int eth_dev_vhost_create(struct rte_vdev_device *dev, char *iface_name, int16_t queues, const unsigned int numa_node, uint64_t flags)