Skip to content

Commit

Permalink
net/tap: remove redundant declarations
Browse files Browse the repository at this point in the history
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")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Keith Wiles <keith.wiles@intel.com>
  • Loading branch information
shemminger authored and Ferruh Yigit committed Jul 23, 2019
1 parent 89178d6 commit 0310fd2
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 @@ -71,8 +71,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 0310fd2

Please sign in to comment.