tap: remove unused KERNEL_VERSION definitions
PATCH 1/1 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.
Signed-off-by Stephen Hemminger <[email protected]>
--- drivers/net/tap/rte_eth_tap.c | 3 --- 1 file changed, 3 deletions(-)
drivers/net/tap/rte_eth_tap.c +0 -3
@@ -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[] = {
Signature · 1 line
2.11.0