Remove the useless code. This patch is for next-net and want to be squashed to the commit in fixes tag.
Fixes: fcb27233824a ("net/avf: initialization of avf PMD") Signed-off-by: Wenzhuo Lu <wenzhuo...@intel.com> --- drivers/net/avf/avf.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/avf/avf.h b/drivers/net/avf/avf.h index 4694cc5..1e3825d 100644 --- a/drivers/net/avf/avf.h +++ b/drivers/net/avf/avf.h @@ -15,8 +15,6 @@ #define AVF_QUEUE_BASE_ADDR_UNIT 128 #define AVF_MAX_NUM_QUEUES 16 -/* Vlan table size */ -#define AVF_VLAN_TB_SIZE (4096 / (CHAR_BIT * sizeof(uint32_t))) #define AVF_NUM_MACADDR_MAX 64 @@ -76,7 +74,6 @@ struct avf_info { uint16_t num_queue_pairs; uint16_t max_pkt_len; /* Maximum packet length */ uint16_t mac_num; /* Number of MAC addresses */ - uint32_t vlan[AVF_VLAN_TB_SIZE]; /* VLAN bit map */ bool promisc_unicast_enabled; bool promisc_multicast_enabled; -- 1.9.3