diff options
| author | Candice Li <[email protected]> | 2021-08-13 11:06:33 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-08-16 19:35:55 +0000 |
| commit | 893cf382c0403d7c4581f0f01f6d06c76485123d (patch) | |
| tree | 601598d641c5c31039455c04b39d6c89a525a478 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c | |
| parent | drm/amdkfd: fix random KFDSVMRangeTest.SetGetAttributesTest test failure (diff) | |
| download | kernel-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_nbio.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c index 6201a5f4b4fa..6afb02fef8cf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c @@ -39,7 +39,6 @@ int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev) adev->nbio.ras_if->block = AMDGPU_RAS_BLOCK__PCIE_BIF; adev->nbio.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; adev->nbio.ras_if->sub_block_index = 0; - strcpy(adev->nbio.ras_if->name, "pcie_bif"); } ih_info.head = fs_info.head = *adev->nbio.ras_if; r = amdgpu_ras_late_init(adev, adev->nbio.ras_if, |
