drm/amd/display: Simplify bool conversion
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 1 Sep 2022 08:11:31 +0000 (16:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:58 +0000 (14:32 -0400)
commit02bcbd6bfc5932d4300b017dcd2ba7e7bbbffe79
tree743d3be47a385cd8bcea5dee17386143ce9455de
parentfc0cd4cd1f7fbe6b0cbe651a8b6db6ec5476c949
drm/amd/display: Simplify bool conversion

The result of relational operation is Boolean, and the question mark
expression is redundant.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2027
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