]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu/amdgpu_psp: remove unneeded ret variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 18 Jan 2022 07:57:02 +0000 (07:57 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jan 2022 22:43:36 +0000 (17:43 -0500)
commit57418887ddbfaf80868dbdcdd3e7a44e5a43b029
tree5d3f5b55fd135f69243a537e61160a9007684c40
parentd00974fcc81b984842ac68d35f27a2a38c069a14
amdgpu/amdgpu_psp: remove unneeded ret variable

Return value from amdgpu_bo_create_kernel() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c