> -----Original Message-----
> From: Yury Norov <[email protected]>
> Sent: Thursday, September 3, 2026 6:21 AM
> To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Andrew Lunn <[email protected]>; David S.
> Miller <[email protected]>; Eric Dumazet <[email protected]>; Jakub
> Kicinski <[email protected]>; Paolo Abeni <[email protected]>;
> [email protected]; [email protected]; open list
> <[email protected]>
> Cc: Yury Norov <[email protected]>
> Subject: [PATCH 1/2] ice: simplify ice_pf_state_is_nominal()
>
> The function creates a temporary mask on stack just to check that first
> ICE_STATE_NOMINAL_CHECK_BITS is empty. Simplify it by using the
> ice_pf_state_is_nominal().
>
> Signed-off-by: Yury Norov <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_lib.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
Tested-by: Alexander Nowlin <[email protected]>