]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69d09d3f76084db093f2cf7765f576816f2e3b7f
tree8039550d5ac681c240936c104d61f770ba7b89ae
parent111b48b70d50d047992f103f1e330ea51dcdea4c
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