drm/amdgpu: remove set but not used variable 'mc_shared_chmap'
authoryu kuai <yukuai3@huawei.com>
Mon, 4 Nov 2019 13:27:26 +0000 (21:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:44 +0000 (15:29 -0500)
commite98042db2cb8d0b728cd76e05b9c2e1c84b7f72b
treea9fcac43fd6826847e9b76db2235c3267b5e0fb4
parent220ac8d1444054ade07ce14498fcda266410f90e
drm/amdgpu: remove set but not used variable 'mc_shared_chmap'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function
‘gfx_v8_0_gpu_early_init’:
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:1713:6: warning: variable
‘mc_shared_chmap’ set but not used [-Wunused-but-set-variable]

Fixes: 0bde3a95eaa9 ("drm/amdgpu: split gfx8 gpu init into sw and hw parts")
Signed-off-by: yu kuai <yukuai3@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c