> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Jacek > Kowalski > Sent: 23 July 2025 14:26 > 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]>; Simon Horman > <[email protected]> > Cc: [email protected]; [email protected] > Subject: [Intel-wired-lan] [PATCH iwl-next v3 5/5] ixgbe: drop unnecessary > casts to u16 / int > > Remove unnecessary casts of constant values to u16. > C's integer promotion rules make them ints no matter what. > > Additionally drop cast from u16 to int in return statements. > > Signed-off-by: Jacek Kowalski <[email protected]> > Suggested-by: Simon Horman <[email protected]> > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 4 ++-- > drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 4 ++-- > drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 4 ++-- > 3 files changed, 6 insertions(+), 6 deletions(-) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
