Skip to content

Commit

Permalink
net/tap: remove redundant declarations
Browse files Browse the repository at this point in the history
[ upstream commit 0310fd2 ]

The rte_vdev_drivers are declared twice.
The first one is not necessary.

Fixes: 740feaf ("ethdev: remove driver name from device private data")
Fixes: 204d026 ("net/tap: support tun")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Keith Wiles <keith.wiles@intel.com>
  • Loading branch information
shemminger authored and kevintraynor committed Aug 28, 2019
1 parent ae11047 commit 92d9311
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/tap/rte_eth_tap.c
Expand Up @@ -70,8 +70,6 @@
#define TAP_IOV_DEFAULT_MAX 1024

static int tap_devices_count;
static struct rte_vdev_driver pmd_tap_drv;
static struct rte_vdev_driver pmd_tun_drv;

static const char *valid_arguments[] = {
ETH_TAP_IFACE_ARG,
Expand Down

0 comments on commit 92d9311

Please sign in to comment.