]> git.baikalelectronics.ru Git - kernel.git/commit
drm:amdgpu:remove unneeded variable
authorchiminghao <chi.minghao@zte.com.cn>
Thu, 9 Dec 2021 01:58:23 +0000 (01:58 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:34:27 +0000 (16:34 -0500)
commit4e6bbea67a62fbb2ce2f64d7832c86c96adfed3d
treeb9526d04e720b798a37bf21db79fbe210b352886
parent989929f1f7f68980accf3f35f6156b103a14c4a0
drm:amdgpu:remove unneeded variable

return value form directly instead of
taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cm>
Signed-off-by: chiminghao <chi.minghao@zte.com.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c