Skip to contentSkip to conversation

ice: Removed unused ICE_FLOW_SEG_HDRS_L2_MASK

PATCH Superseded Tony Nguyen 3 participants 3 messages Nov 17, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Tony Nguyen

author maintainer
#0 lore raw

PATCH 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
index 2bfe9d9d7edc..ef10f0941231 100644
@@ -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
#1 lore raw

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_MASK is 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
---
  drivers/net/ethernet/intel/ice/ice_flow.c | 2 --
  1 file changed, 2 deletions(-)
drivers/net/ethernet/intel/ice/ice_flow.c +0 -0
index 2bfe9d9d7edc..ef10f0941231 100644

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

#2 lore raw

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_MASK is 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