[v2,073/148] net/ice/base: remove unused define

Message ID 1501489afc404eb1096945a977c4a8439b9796a0.1718204528.git.anatoly.burakov@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Bruce Richardson
Headers
Series Update net/ice base driver to latest upstream snapshot |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Anatoly Burakov June 12, 2024, 3:01 p.m. UTC
From: Ian Stokes <ian.stokes@intel.com>

In a previous patch a define was added that is not used. This is causing issues
with CI builds.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
---
 drivers/net/ice/base/ice_sched.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Bruce Richardson June 20, 2024, 1:38 p.m. UTC | #1
On Wed, Jun 12, 2024 at 04:01:07PM +0100, Anatoly Burakov wrote:
> From: Ian Stokes <ian.stokes@intel.com>
> 
> In a previous patch a define was added that is not used. This is causing issues
> with CI builds.
> 
> Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
> ---
>  drivers/net/ice/base/ice_sched.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c
> index d39106173b..cb6131f69d 100644
> --- a/drivers/net/ice/base/ice_sched.c
> +++ b/drivers/net/ice/base/ice_sched.c
> @@ -4660,7 +4660,6 @@ ice_sched_save_tc_node_bw(struct ice_port_info *pi, u8 tc,
>  }
>  
>  #define ICE_SCHED_GENERIC_STRICT_MODE		BIT(4)
> -#define ICE_SCHED_GENERIC_PRIO_M		0xE
>  #define ICE_SCHED_GENERIC_PRIO_S		1
>  
This was just added in previous patch, p72, so quash 72 & 73 together for
v3.
  

Patch

diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c
index d39106173b..cb6131f69d 100644
--- a/drivers/net/ice/base/ice_sched.c
+++ b/drivers/net/ice/base/ice_sched.c
@@ -4660,7 +4660,6 @@  ice_sched_save_tc_node_bw(struct ice_port_info *pi, u8 tc,
 }
 
 #define ICE_SCHED_GENERIC_STRICT_MODE		BIT(4)
-#define ICE_SCHED_GENERIC_PRIO_M		0xE
 #define ICE_SCHED_GENERIC_PRIO_S		1
 
 /**