drm/amdgpu: remove unused definition
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove unused definition
mmhub_v1_8_mmea_cgtt_clk_cntl_reg is defined but not used.
Reported-by kernel test robot <[email protected]>
Signed-off-by Tao Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c +0 -8
@@ -757,14 +757,6 @@ static void mmhub_v1_8_query_ras_error_status(struct amdgpu_device *adev)mmhub_v1_8_inst_query_ras_err_status (adev, i); } -static const uint32_t mmhub_v1_8_mmea_cgtt_clk_cntl_reg[] = { - regMMEA0_CGTT_CLK_CTRL, - regMMEA1_CGTT_CLK_CTRL, - regMMEA2_CGTT_CLK_CTRL, - regMMEA3_CGTT_CLK_CTRL, - regMMEA4_CGTT_CLK_CTRL, -}; -static void mmhub_v1_8_inst_reset_ras_err_status (struct amdgpu_device *adev,uint32_t mmhub_inst) {
Signature · 1 line
2.35.1
[AMD Official Use Only - General]
-----Original Message-----
From: Zhou1, Tao <[email protected]>
Sent: Friday, May 19, 2023 11:24 AM
To: [email protected]; Zhang, Hawking <[email protected]>
Cc: SHANMUGAM, SRINIVASAN <[email protected]>; Zhou1, Tao <[email protected]>; kernel test robot <[email protected]>
Subject: [PATCH] drm/amdgpu: remove unused definition
mmhub_v1_8_mmea_cgtt_clk_cntl_reg is defined but not used.
Reported-by kernel test robot <[email protected]>
Signed-off-by Tao Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c +0 -9
@@ -757,14 +757,6 @@ static void mmhub_v1_8_query_ras_error_status(struct amdgpu_device *adev)mmhub_v1_8_inst_query_ras_err_status (adev, i); } -static const uint32_t mmhub_v1_8_mmea_cgtt_clk_cntl_reg[] = { - regMMEA0_CGTT_CLK_CTRL, - regMMEA1_CGTT_CLK_CTRL, - regMMEA2_CGTT_CLK_CTRL, - regMMEA3_CGTT_CLK_CTRL, - regMMEA4_CGTT_CLK_CTRL, -}; -static void mmhub_v1_8_inst_reset_ras_err_status (struct amdgpu_device *adev,uint32_t mmhub_inst) { --
2.35.1