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: 7c2d03d65f
("net/tap: remove Linux version check")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
42dcf0e2e7
commit
d732ec19dc
@ -31,7 +31,6 @@
|
||||
#include <net/if.h>
|
||||
#include <linux/if_tun.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/version.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <rte_eth_tap.h>
|
||||
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user