]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 1 Mar 2021 06:49:47 +0000 (14:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Mar 2021 15:51:11 +0000 (10:51 -0500)
commit5292180706e844ff7593da05c17d485dc4f8258e
treeb5171686c3e6e446d1bd173c9063feedb1b92496
parent0e5fb5a51a6bc78689b86eb700b80b9c4bd67664
drm/amd/display: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

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