]> 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)
commit4d27796d4999b10fcf227c0f27a7b9dec218b163
treeb9526d04e720b798a37bf21db79fbe210b352886
parenta13f3b91c851076e40fbd80f22314cfdf9c6d2db
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