diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-12-20 17:37:54 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-03 19:16:06 +0300 |
commit | 5ce9a6ad8ec48445ff6c999d064f7931f892bf2b (patch) | |
tree | 5e507a13d7c2f3b23067ae0164228582ab60311e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | d95ad8fa96e14b7ce1ab740c53f10d7aff9f6660 (diff) | |
download | linux-5ce9a6ad8ec48445ff6c999d064f7931f892bf2b.tar.xz |
drm/amdgpu: Drop redundant unsigned >=0 comparision 'amdgpu_gfx_rlc_init_microcode()'
unsigned int "version_minor" is always >= 0
Fixes the below:
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c:534 amdgpu_gfx_rlc_init_microcode() warn: always true condition '(version_minor >= 0) => (0-u16max >= 0)'
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions