]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 3 Mar 2021 09:17:45 +0000 (17:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Mar 2021 15:51:37 +0000 (10:51 -0500)
commit95d24d1cf729014a4672efcff90e79159685f692
tree1c1f876c34782da52d23ed2f3581d5ec751fa8e8
parent13507339dc851e0fd3eeabe5800b161929728eb8
drm/amdgpu: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:2252:40-45: 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/amdgpu/sdma_v4_0.c