drm/amdgpu: remove unused variable
authorbobzhou <bob.zhou@amd.com>
Thu, 2 Mar 2023 05:56:59 +0000 (13:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Mar 2023 19:21:56 +0000 (14:21 -0500)
commit43660b4ea53abc2be04be18a147a39e1f4cb8b72
tree52aff056fdaade127a6631304c2cab9e1d7f4cd9
parent9473b6b25b836573d481c5ee6be0f1bd0fca14ff
drm/amdgpu: remove unused variable

building with gcc and W=1 reports
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:7292:11: error:
unused variable 'tmp' [-Werror=unused-variable]
  uint32_t tmp;
           ^~~

tmp is not used so remove it.

Signed-off-by: bobzhou <bob.zhou@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c