]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 18 Mar 2021 02:36:52 +0000 (10:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:37:23 +0000 (23:37 -0400)
commit05ef39203797c4149bddb072a29204c1461eaa45
tree8df2082c962cec093df2c253e9d9fcfa4b04d2f9
parentd9d7ef70c5b6c33267708c88cbe57513d68f13ae
drm/amd/display: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb_cm.c:220:65-70:
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_dwb_cm.c