[PATCH 0/7] various '-Wunused-but-set-variable' gcc warning fixes

From: yu kuai
Date: Wed Nov 13 2019 - 07:37:38 EST


This patch set fixes various unrelated gcc '-Wunused-but-set-variable'
warnings.

yu kuai (7):
drm/amdgpu: remove set but not used variable 'mc_shared_chmap' from
'gfx_v6_0.c' and 'gfx_v7_0.c'
drm/amdgpu: remove set but not used variable 'amdgpu_connector'
drm/amdgpu: remove set but not used variable 'count'
drm/amdgpu: remove set but not used variable 'invalid'
drm/amdgpu: remove set but not used variable 'threshold'
drm/amdgpu: remove set but not used variable 'state'
drm/amdgpu: remove set but not used variable 'us_mvdd'

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 4 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 --
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 3 +--
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 3 +--
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 ++--
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c | 7 ++-----
drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c | 12 ------------
7 files changed, 8 insertions(+), 27 deletions(-)

--
2.7.4