From: Stephen Hemminger Date: Wed, 27 Dec 2017 18:28:36 +0000 (-0800) Subject: net/tap: remove unused kernel version definitions X-Git-Tag: spdx-start~337 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d732ec19dcad45070c85e5b43aca95b2d49ec8a6;p=dpdk.git 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 --- 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[] = {