1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display
Zou Wei cfeb1055e5 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: 81875979f0 ("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>
2020-10-30 01:02:13 -04:00
..
amdgpu_dm drm/amdgpu/display: remove DRM_AMD_DC_GREEN_SARDINE 2020-10-30 01:02:03 -04:00
dc drm/amd/display: remove useless if/else 2020-10-30 01:02:13 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.38 2020-10-26 13:33:46 -04:00
include drm/amdgpu/display: remove DRM_AMD_DC_GREEN_SARDINE 2020-10-30 01:02:03 -04:00
modules drm/amd/display: combined user regamma and OS GAMMA_CS_TFM_1D 2020-10-26 13:34:54 -04:00
Kconfig drm/amdgpu/display: remove DRM_AMD_DC_GREEN_SARDINE 2020-10-30 01:02:03 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00