diff options
author | Alex Hung <[email protected]> | 2024-05-29 17:50:44 -0600 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-06-14 16:17:17 -0400 |
commit | 82c94233e5c8f7609e244267797e1e2183c2c4c0 (patch) | |
tree | 15c64cb5c26e7142102093c3f3d041b4de1c2c8e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 97dc6a480c8189d1f130fcd026391cef5f7d8b34 (diff) |
drm/amd/display: Remove useless comparison of unsigned int vs. 0
[WHY & HOW]
The comparisons of unsigned int with 0 can have no meanings, i.e.
unsigned int >= 0 (always true) or unsigned int < 0 (always false), and
therefore they are removed.
This fixes 12 NO_EFFECT issues reported by Coverity.
Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Zaeem Mohamed <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions