diff options
| author | Jacek Kowalski <jacek@jacekk.info> | 2025-07-23 10:55:03 +0200 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-09-03 10:07:27 -0700 |
| commit | b45d082d910bb069c3b878426b5a105296b16562 (patch) | |
| tree | 9e5f62e442984c4e24848eba956704fca2b5a99f /tools/perf/scripts/python/gecko.py | |
| parent | 7e93136459ddf8eaead66745751b1b0d1dda5202 (diff) | |
igb: drop unnecessary constant casts to u16
Remove unnecessary casts of constant values to u16.
C's integer promotion rules make them ints no matter what.
Additionally replace IGB_MNG_VLAN_NONE with resulting value
rather than casting -1 to u16.
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>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
