summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
diff options
context:
space:
mode:
authorCandice Li <candice.li@amd.com>2021-08-13 14:06:33 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-08-16 22:35:55 +0300
commit893cf382c0403d7c4581f0f01f6d06c76485123d (patch)
tree601598d641c5c31039455c04b39d6c89a525a478 /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
parent2bbab7ce7cf380c1ca452ac90ffcaa190acb11de (diff)
downloadlinux-893cf382c0403d7c4581f0f01f6d06c76485123d.tar.xz
drm/amd/amdgpu: remove unnecessary RAS context field
Delete ras_if->name in the RAS ctx structure and remove related lines. Signed-off-by: Candice Li <candice.li@amd.com> Reviewed-by: John Clements <john.clements@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
index ead3dc572ec5..24297dc51434 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
@@ -41,7 +41,6 @@ int amdgpu_mmhub_ras_late_init(struct amdgpu_device *adev)
adev->mmhub.ras_if->block = AMDGPU_RAS_BLOCK__MMHUB;
adev->mmhub.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE;
adev->mmhub.ras_if->sub_block_index = 0;
- strcpy(adev->mmhub.ras_if->name, "mmhub");
}
ih_info.head = fs_info.head = *adev->mmhub.ras_if;
r = amdgpu_ras_late_init(adev, adev->mmhub.ras_if,