[dpdk-dev] tap: remove unused KERNEL_VERSION definitions
Checks
Commit Message
The TAP device does not use these definitions in current version.
And kernel version is not the correct way to detect features.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
---
drivers/net/tap/rte_eth_tap.c | 3 ---
1 file changed, 3 deletions(-)
@@ -78,9 +78,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[] = {