diff options
| author | Jacek Kowalski <jacek@jacekk.info> | 2025-07-23 10:54:35 +0200 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-09-03 10:07:27 -0700 |
| commit | 7e93136459ddf8eaead66745751b1b0d1dda5202 (patch) | |
| tree | 704ee913bc57cc9e03bc80251d1c5a3cdde2706d /tools/perf/scripts/python/task-analyzer.py | |
| parent | fa8a9346f95a5af3d17717223783b743bf20d4a9 (diff) | |
e1000e: 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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
