]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display/dc/dce/dmub_psr: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 26 Feb 2021 09:42:07 +0000 (17:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Feb 2021 22:23:50 +0000 (17:23 -0500)
commit8181b418976a6f71910b6b684adf5bcec25a7e22
tree9ed85eccc2eb51504d21721a0a3e659996e3202f
parent99e9b9d30398c49b6e720b81152729814c157291
drm/amd/display/dc/dce/dmub_psr: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c:273:16-21: 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/dce/dmub_psr.c