diff options
| author | 2020-04-27 14:36:55 +0800 | |
|---|---|---|
| committer | 2020-04-27 15:52:16 -0400 | |
| commit | b6e79d9a314ebe5fc44f882c607869d8f7ffb4a1 (patch) | |
| tree | 1aaad4d8c86537a4ca126cfb38e15b38215992c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/amdgpu: decouple EccErrCnt query and clear operation (diff) | |
| download | wireguard-linux-b6e79d9a314ebe5fc44f882c607869d8f7ffb4a1.tar.xz wireguard-linux-b6e79d9a314ebe5fc44f882c607869d8f7ffb4a1.zip | |
drm/amdgpu: remove conversion to bool in amdgpu_device.c
The '>' expression itself is bool, no need to convert it to bool again.
This fixes the following coccicheck warning:
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3004:68-73: WARNING:
conversion to bool not needed here
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
