summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2020-10-28 16:36:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-30 01:02:13 -0400
commitcfeb1055e5f479f03278c0915405d182ed2f8fca (patch)
tree763b19707e9dc99599e37f04906ccef51fe04209 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent15047bd436a763dd2ddf8e1024b4e25af9cc11ee (diff)
drm/amd/display: remove useless if/else
Fix the following coccinelle report: ./drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c:1367:3-5: WARNING: possible condition with no effect (if == else) Both branches are the same, so remove the if/else altogether. Fixes: 81875979f0b2 ("drm/amd/display: Remove extra pairs of parentheses in dce_calcs.c") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.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