Skip to content

Commit

Permalink
net/ring: remove redundant declaration
Browse files Browse the repository at this point in the history
[ upstream commit d10b972 ]

The rte_vdev_driver is declared twice.
The first one is not necessary.

Fixes: 740feaf ("ethdev: remove driver name from device private data")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  • Loading branch information
shemminger authored and kevintraynor committed Aug 28, 2019
1 parent 396f610 commit 293cd19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ring/rte_eth_ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,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[],
Expand Down

0 comments on commit 293cd19

Please sign in to comment.