aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
diff options
context:
space:
mode:
authorCandice Li <[email protected]>2021-08-13 11:06:33 +0000
committerAlex Deucher <[email protected]>2021-08-16 19:35:55 +0000
commit893cf382c0403d7c4581f0f01f6d06c76485123d (patch)
tree601598d641c5c31039455c04b39d6c89a525a478 /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
parentdrm/amdkfd: fix random KFDSVMRangeTest.SetGetAttributesTest test failure (diff)
downloadkernel-893cf382c0403d7c4581f0f01f6d06c76485123d.tar.gz
kernel-893cf382c0403d7c4581f0f01f6d06c76485123d.zip
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 <[email protected]> Reviewed-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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,