]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove the unneeded result variable
authorzhang songyi <zhang.songyi@zte.com.cn>
Fri, 2 Sep 2022 08:04:01 +0000 (08:04 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:58 +0000 (14:32 -0400)
commit4a55ced8ba3ad15a906e58c5c101bde49922a9c0
tree42d74a25af2a7e809663948370a03359e36ac2d1
parentb7ee1b29f0a0fc9966255cb3e15645922548b999
drm/amdgpu: Remove the unneeded result variable

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

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