From d732ec19dcad45070c85e5b43aca95b2d49ec8a6 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 27 Dec 2017 10:28:36 -0800 Subject: [PATCH] net/tap: remove unused kernel version definitions The TAP device does not use these definitions in current version. And kernel version is not the correct way to detect features. Fixes: 7c2d03d65f5e ("net/tap: remove Linux version check") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- drivers/net/tap/rte_eth_tap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 0d8ff77a4e..be73f93c8a 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include @@ -49,9 +48,6 @@ #define ETH_TAP_MAC_ARG "mac" #define ETH_TAP_MAC_FIXED "fixed" -#define FLOWER_KERNEL_VERSION KERNEL_VERSION(4, 2, 0) -#define FLOWER_VLAN_KERNEL_VERSION KERNEL_VERSION(4, 9, 0) - static struct rte_vdev_driver pmd_tap_drv; static const char *valid_arguments[] = { -- 2.20.1