diff options
author | 2024-05-29 17:50:44 -0600 | |
---|---|---|
committer | 2024-06-14 16:17:17 -0400 | |
commit | 82c94233e5c8f7609e244267797e1e2183c2c4c0 (patch) | |
tree | 15c64cb5c26e7142102093c3f3d041b4de1c2c8e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | drm/amd/display: Fix uninitialized variables in dcn401 (diff) | |
download | linux-rng-82c94233e5c8f7609e244267797e1e2183c2c4c0.tar.xz linux-rng-82c94233e5c8f7609e244267797e1e2183c2c4c0.zip |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions