ice: Removed unused ICE_FLOW_SEG_HDRS_L2_MASK
Subsystems (2)
Tony Nguyen
maintainerPATCH 1/1 ice: Removed unused ICE_FLOW_SEG_HDRS_L2_MASK
ICE_FLOW_SEG_HDRS_L2_MASK is not being used; remove the define.
--- drivers/net/ethernet/intel/ice/ice_flow.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/ethernet/intel/ice/ice_flow.c +0 -2
@@ -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 \
Signature · 1 line
2.20.1
PATCH 1/1 ice: Removed unused ICE_FLOW_SEG_HDRS_L2_MASK
Dear Tony,
Am 17.11.21 um 23:10 schrieb Tony Nguyen:
Quoted 1 line
ICE_FLOW_SEG_HDRS_L2_MASKis not being used; remove the define.
Nit: It?d be great if you used imperative mood (present tense) in the
summary: Remove unused ?.
Quoted 12 lines
Reported-by Jesse Brandeburg <[email protected]>Signed-off-by Tony Nguyen <[email protected]>--- drivers/net/ethernet/intel/ice/ice_flow.c | 2 -- 1 file changed, 2 deletions(-)drivers/net/ethernet/intel/ice/ice_flow.c +0
-0
drivers/net/ethernet/intel/ice/ice_flow.c struct ice_flow_prof_params { · line 614
Quoted 8 lines
drivers/net/ethernet/intel/ice/ice_flow.c +0
-2@@ -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 \
Kind regards,
Paul
Nguyen
PATCH 1/1 ice: Removed unused ICE_FLOW_SEG_HDRS_L2_MASK
Quoted 9 lines · Paul Menzel
Dear Tony,
Am 17.11.21 um 23:10 schrieb Tony Nguyen:
Quoted 1 line
ICE_FLOW_SEG_HDRS_L2_MASKis not being used; remove the define.Nit: It?d be great if you used imperative mood (present tense) in the
summary: Remove unused ?.
I can do that. I'll send a v2 shortly.
Thanks,
Tony
Quoted 2 lines
Quoted 2 lines
Reported-by Jesse Brandeburg <[email protected]>Signed-off-by Tony Nguyen <[email protected]>