]> git.droids-corp.org - dpdk.git/commitdiff
net/ring: remove redundant declaration
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 11 Jul 2019 20:03:06 +0000 (13:03 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
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 <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/ring/rte_eth_ring.c

index 65c2813ba1bc072621ca97b8b480145ff0fd001f..eb347bce61b7d497fef4146e1e2c10a82ee28832 100644 (file)
@@ -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[],