diff options
| author | Tao Zhou <[email protected]> | 2023-05-19 03:34:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 14:44:33 +0000 |
| commit | 332bb09352a69b8e7cf0825575f90581d3695135 (patch) | |
| tree | fd520d6d50ceb8b7556f79e2469d123153d2cf4c /drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c | |
| parent | drm/amdgpu: Fix uninitialized variable in gfxhub_v1_2_xcp_resume (diff) | |
| download | kernel-332bb09352a69b8e7cf0825575f90581d3695135.tar.gz kernel-332bb09352a69b8e7cf0825575f90581d3695135.zip | |
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]>
Acked-by: Srinivasan Shanmugam <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c index 8600e42434e7..bf3b0f382c89 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c @@ -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) { |
