drm/amdgpu: Remove the unused variable golden_settings_gc_9_4_3
Subsystems (3)
PATCH 1/1 drm/amdgpu: Remove the unused variable golden_settings_gc_9_4_3
Variable golden_settings_gc_9_4_3 is not effectively used, so delete it.
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:48:38: warning: ‘golden_settings_gc_9_4_3’ defined but not used.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +0 -4
@@ -45,10 +45,6 @@ MODULE_FIRMWARE("amdgpu/gc_9_4_3_rlc.bin");#define GFX9_MEC_HPD_SIZE 4096#define RLCG_UCODE_LOADING_START_ADDRESS 0x00002000L -static const struct soc15_reg_golden golden_settings_gc_9_4_3[] = { - -}; -static void gfx_v9_4_3_set_ring_funcs (struct amdgpu_device *adev);static void gfx_v9_4_3_set_irq_funcs (struct amdgpu_device *adev);static void gfx_v9_4_3_set_gds_init (struct amdgpu_device *adev);
Signature · 1 line
2.20.1.7.g153144c
Alex Deucher
AppliedApplied. Thanks!
Quoted 30 lines · Jiapeng Chong
Variable
golden_settings_gc_9_4_3is not effectively used, so delete it.
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:48:38: warning: ‘golden_settings_gc_9_4_3’ defined but not used.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 4 ---- 1 file changed, 4 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +0
-5@@ -45,10 +45,6 @@ MODULE_FIRMWARE("amdgpu/gc_9_4_3_rlc.bin");#define GFX9_MEC_HPD_SIZE 4096#define RLCG_UCODE_LOADING_START_ADDRESS 0x00002000L -static const struct soc15_reg_golden golden_settings_gc_9_4_3[] = { - -}; -static void gfx_v9_4_3_set_ring_funcs (struct amdgpu_device *adev);static void gfx_v9_4_3_set_irq_funcs (struct amdgpu_device *adev);static void gfx_v9_4_3_set_gds_init (struct amdgpu_device *adev); --2.20.1.7.g153144c