]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac0cc38026ac99a3d35bcafa9a3b63e2155b3c3e
tree5edc5c31a19eb3d99c3beee24e96c27a5dd583bd
parent1b9037d23cc8b7afa4ffbfd7afbe73d7008d6641
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