diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-05-29 17:50:44 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-14 16:17:17 -0400 |
| commit | 82c94233e5c8f7609e244267797e1e2183c2c4c0 (patch) | |
| tree | 15c64cb5c26e7142102093c3f3d041b4de1c2c8e /scripts/gdb/linux/utils.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 <harry.wentland@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
