drm/radeon/evergreen: Remove set but unused variable 'mc_shared_chmap'
authorLee Jones <lee.jones@linaro.org>
Tue, 10 Nov 2020 19:30:44 +0000 (19:30 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Nov 2020 05:11:37 +0000 (00:11 -0500)
commitca648e3835d64e39518aa4058c8adc6d28d780a0
tree6d2d129d314d90d350a79c887237505a03085d6f
parent28ae8ea489c397f679ca9e0bff05abc41b11e5cb
drm/radeon/evergreen: Remove set but unused variable 'mc_shared_chmap'

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/radeon/evergreen.c: In function ‘evergreen_gpu_init’:
 drivers/gpu/drm/radeon/evergreen.c:3135:6: warning: variable ‘mc_shared_chmap’ set but not used [-Wunused-but-set-variable]

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c