]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 16 Mar 2021 08:08:49 +0000 (16:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:37:19 +0000 (23:37 -0400)
commitd9d7ef70c5b6c33267708c88cbe57513d68f13ae
treeaaac1dcab68dd614ee700f3f1090a1b63916fe09
parent570d1fbff6ec64205c8440ca61eb0db4c17417ea
drm/amd/display: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c:721:65-70: WARNING:
conversion to bool not needed here.

./drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c:1139:67-72: 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_dpp.c