From: Stephen Hemminger Date: Thu, 11 Jul 2019 20:03:01 +0000 (-0700) Subject: net/tap: remove redundant declarations X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0310fd25b4a9c3ebb604b1447c32149b085a548a;p=dpdk.git net/tap: remove redundant declarations The rte_vdev_drivers are declared twice. The first one is not necessary. Fixes: 740feaf349b1 ("ethdev: remove driver name from device private data") Fixes: 204d026a3922 ("net/tap: support tun") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Acked-by: Keith Wiles --- diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 3841842f01..64bd049110 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c @@ -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,