]> 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)
commit171fce0ac1ca6565ec33e8084b7d039c4f460872
tree9ed85eccc2eb51504d21721a0a3e659996e3202f
parent61ad7d174b438768f60a35eebfa78156b19efd5f
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