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)
commit47d9c6faa79e85a6e196e02cc74c4775d39546a0
treeb9526d04e720b798a37bf21db79fbe210b352886
parentc08d2f8bc16b56699673314eb0142ee863f137fe
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