]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 15 Mar 2021 08:22:02 +0000 (16:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:31:14 +0000 (23:31 -0400)
commit47b955d59617c040c60061f2a1a7b398a02b0e0e
tree506769d9706d37fae1180038b9d359e0e1660fd4
parent1468708be3b5b93f47c0e83e1b6fde63dcf3fe9d
drm/amd/display: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c:358:69-74: WARNING:
conversion to bool not needed here.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c