aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorBernard Zhao <[email protected]>2021-06-21 13:05:07 +0000
committerAlex Deucher <[email protected]>2021-06-22 20:51:45 +0000
commit519424d776ec5e629781855a57f05aac5ef60ecb (patch)
tree292f119823cd6d971a00772d11e160a3ad252727 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentdrm/amd/display: 3.2.141 (diff)
downloadkernel-519424d776ec5e629781855a57f05aac5ef60ecb.tar.gz
kernel-519424d776ec5e629781855a57f05aac5ef60ecb.zip
drm/radeon: delete useless function return values & remove meaningless if(r) check code
Function radeon_fence_driver_init always returns success, the function type maybe coule be changed to void. This patch first delete the check of the return value of the function call radeon_fence_driver_init, then, optimise the function declaration and function to void type. Reviewed-by: Christian König <[email protected]> Signed-off-by: Bernard Zhao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions