net/tap: remove redundant declarations
Checks
Commit Message
The rte_vdev_drivers are declared twice.
The first one is not necessary.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/tap/rte_eth_tap.c | 2 --
1 file changed, 2 deletions(-)
Comments
On Thu, 11 Jul 2019 12:48:05 -0700
Stephen Hemminger <stephen@networkplumber.org> wrote:
> The rte_vdev_drivers are declared twice.
> The first one is not necessary.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Many drivers have same problem. Will send new series
@@ -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,