]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 25 Feb 2021 09:19:02 +0000 (17:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Feb 2021 22:23:49 +0000 (17:23 -0500)
commit4a0e5f6d2f73cbd5d5846b63a0e5acf52f41821d
tree09ccf5db1b51c0a1a8cd1f26b8a9b244faeb89ce
parent39a42fb6cf76254c4e44a578e8b7897b12a4330f
drm/amd/display: remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c:243: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_cm.c