]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove unnecessary conversion to bool
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 23 Feb 2021 03:43:33 +0000 (11:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Feb 2021 14:28:55 +0000 (09:28 -0500)
commitace21eb4c897f410265430214fa2c9aac9c96ef2
tree2d76d34ae6d0c417f00b7a12db62dafd533d9c56
parentd90c421608e48572eaef8b4743014c85f7b8ca0c
drm/amdgpu: Remove unnecessary conversion to bool

Fix the following coccicheck warnings:

./drivers/gpu/drm/amd/amdgpu/athub_v2_1.c:79:40-45: WARNING: conversion
to bool not needed here.

./drivers/gpu/drm/amd/amdgpu/athub_v2_1.c:81: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/athub_v2_1.c