summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJacek Kowalski <jacek@jacekk.info>2025-07-23 11:55:37 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-09-03 20:07:27 +0300
commit396a788bca86ebef419471c73debdc46227972b5 (patch)
treecf91169457c0b43877afba106b8c5700fbc18977 /tools/perf/scripts/python/libxed.py
parentd45dda4914e9f675c4af9c61f409cfabe160954d (diff)
downloadlinux-396a788bca86ebef419471c73debdc46227972b5.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions