net/tap: remove redundant declarations
PATCH 1/1 net/tap: remove redundant declarations
The rte_vdev_drivers are declared twice.
The first one is not necessary.
Signed-off-by Stephen Hemminger <[email protected]>
--- drivers/net/tap/rte_eth_tap.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/tap/rte_eth_tap.c +0 -2
@@ -71,8 +71,6 @@#define TAP_IOV_DEFAULT_MAX 1024static 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 ,
Signature · 1 line
2.20.1
Quoted 4 lines · On Thu, 11 Jul 2019 12:48:05 -0700 Stephen Hemminger…
The
rte_vdev_driversare declared twice.
The first one is not necessary.Signed-off-by Stephen Hemminger <[email protected]>
Many drivers have same problem. Will send new series