OSDN Git Service

drm/amdgpu: Delete two unneeded bool conversions
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 12:23:38 +0000 (20:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 May 2021 13:44:35 +0000 (09:44 -0400)
commit0bb6d3db4f75c960769de128f3bccb320b5d044d
tree5edc5c31a19eb3d99c3beee24e96c27a5dd583bd
parentea23ff0241f094aa67d74ea37b2189ac1bf17f6b
drm/amdgpu: Delete two 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/amdgpu/mmhub_v2_3.c