]> 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)
commitf34de9e769a4bfc5a0f5f7dbc3cb163366bd66de
tree5d3f5b55fd135f69243a537e61160a9007684c40
parentd793f9a5b09f83283177d3a93fd623653aed3352
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