summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorJacek Kowalski <jacek@jacekk.info>2025-07-23 10:54:11 +0200
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-09-03 10:07:27 -0700
commitfa8a9346f95a5af3d17717223783b743bf20d4a9 (patch)
tree38474ce55112488b9329cf145efea9e87a1f9958 /tools/perf/scripts/python/gecko.py
parentd07176252a4312b8010339e6e1b042ac93788ce5 (diff)
e1000: 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 E1000_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> 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