drm/amd/display: remove possible condition with no effect (if == else)
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 1 Sep 2022 08:34:38 +0000 (16:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:58 +0000 (14:32 -0400)
commita92bfda8783729ac684a0f005a1680602ed1096d
tree00fc8604d0a856585618127d5454f1b89c36fded
parent02bcbd6bfc5932d4300b017dcd2ba7e7bbbffe79
drm/amd/display: remove possible condition with no effect (if == else)

Conditional statements have no effect to next process.So remove it.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2028
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c