OSDN Git Service

drm/amd/display: Delete several unneeded bool conversions
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 12:16:21 +0000 (20:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 May 2021 13:44:35 +0000 (09:44 -0400)
commitea23ff0241f094aa67d74ea37b2189ac1bf17f6b
treeb9986084bfa1628150c6cd3f681cbd4875b0059b
parent29b25b7067a4fa92afd379ebd7c16b9cbed5e0c0
drm/amd/display: Delete several unneeded bool conversions

The result of an expression consisting of a single relational operator is
already of the bool type and does not need to be evaluated explicitly.

No functional change.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c