OSDN Git Service

ice: Remove unused ICE_FLOW_SEG_HDRS_L2_MASK
authorTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 17 Nov 2021 23:55:05 +0000 (15:55 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 14 Dec 2021 18:19:14 +0000 (10:19 -0800)
Remove the unused define ICE_FLOW_SEG_HDRS_L2_MASK.

Reported-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Acked-by: Paul Menzel <pmenzel@molgen.mpg.de>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
drivers/net/ethernet/intel/ice/ice_flow.c

index b17b984..2c53329 100644 (file)
@@ -609,8 +609,6 @@ struct ice_flow_prof_params {
        ICE_FLOW_SEG_HDR_ESP | ICE_FLOW_SEG_HDR_AH | \
        ICE_FLOW_SEG_HDR_NAT_T_ESP)
 
-#define ICE_FLOW_SEG_HDRS_L2_MASK      \
-       (ICE_FLOW_SEG_HDR_ETH | ICE_FLOW_SEG_HDR_VLAN)
 #define ICE_FLOW_SEG_HDRS_L3_MASK      \
        (ICE_FLOW_SEG_HDR_IPV4 | ICE_FLOW_SEG_HDR_IPV6 | ICE_FLOW_SEG_HDR_ARP)
 #define ICE_FLOW_SEG_HDRS_L4_MASK      \