]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Simplify bool conversion
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 18 Feb 2021 07:34:04 +0000 (15:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Feb 2021 21:43:11 +0000 (16:43 -0500)
commit3004872283c9c78e5bc0734e331024161b987eb0
tree85dfd00d3d3c90d788c78c1cdf245405f60b0a1c
parenteb36c3a027636dbbdad45a6ecd8b82098c5208a9
drm/amd/display: Simplify bool conversion

Fix the following coccicheck warning:
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8142:16-21: WARNING:
conversion to bool not needed here

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/amdgpu_dm/amdgpu_dm.c