[dpdk-dev] [PATCH 1/9] net/tap: remove redundant declarations
Wiles, Keith
keith.wiles at intel.com
Thu Jul 11 23:29:56 CEST 2019
> On Jul 11, 2019, at 3:03 PM, Stephen Hemminger <stephen at networkplumber.org> wrote:
>
> The rte_vdev_drivers are declared twice.
> The first one is not necessary.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> drivers/net/tap/rte_eth_tap.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
> index 3841842f01f8..64bd049110e1 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,
> --
> 2.20.1
>
Acked-by: Keith Wiles <keith.wiles at intel.com>
Regards,
Keith
More information about the dev
mailing list