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 <jacek@jacekk.info> Suggested-by:
Simon Horman <horms@kernel.org> Reviewed-by:
Aleksandr Loktionov <aleksandr.loktionov@intel.com> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Reviewed-by:
Simon Horman <horms@kernel.org> Signed-off-by:
Tony Nguyen <anthony.l.nguyen@intel.com>
Loading
Please sign in to comment