diff options
| author | 2020-04-27 14:37:26 +0800 | |
|---|---|---|
| committer | 2020-04-27 15:52:17 -0400 | |
| commit | 46501bc35b7186a939edce15d3bc9ca2a38115b6 (patch) | |
| tree | 52081170e386d9d62987099eb9dcd5a29188bdba /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/amd/display: remove conversion to bool in dcn20_mpc.c (diff) | |
| download | wireguard-linux-46501bc35b7186a939edce15d3bc9ca2a38115b6.tar.xz wireguard-linux-46501bc35b7186a939edce15d3bc9ca2a38115b6.zip | |
drm/amd/display: remove conversion to bool in dc_link_ddc.c
The '>' expression itself is bool, no need to convert it to bool again.
This fixes the following coccicheck warning:
drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c:602:28-33: 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
