drm/amdgpu: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Fri, 26 Aug 2022 07:23:57 +0000 (07:23 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:43:59 +0000 (17:43 -0400)
commit1d5d1947778cbbc9b469e57b9e1a56871250afa9
tree8039550d5ac681c240936c104d61f770ba7b89ae
parent2aefa9a38f236481f41b117e21ffdf38f40830f6
drm/amdgpu: Remove the unneeded result variable

Return the value sdma_v5_2_start() directly instead of storing it in
another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c