]> 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)
commitfca34f1e1cb9f8ea0ec96af9d0c8f7fce8c95af7
tree506769d9706d37fae1180038b9d359e0e1660fd4
parent54424061363d07db0f17397ee44aee65503b0f4b
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