From d10b972e25708aecbbca639abded877561b267d2 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 11 Jul 2019 13:03:06 -0700 Subject: [PATCH] net/ring: remove redundant declaration The rte_vdev_driver is declared twice. The first one is not necessary. Fixes: 740feaf349b1 ("ethdev: remove driver name from device private data") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson --- drivers/net/ring/rte_eth_ring.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c index 65c2813ba1..eb347bce61 100644 --- a/drivers/net/ring/rte_eth_ring.c +++ b/drivers/net/ring/rte_eth_ring.c @@ -248,8 +248,6 @@ static const struct eth_dev_ops ops = { .mac_addr_add = eth_mac_addr_add, }; -static struct rte_vdev_driver pmd_ring_drv; - static int do_eth_dev_ring_create(const char *name, struct rte_ring * const rx_queues[], -- 2.20.1