aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
diff options
context:
space:
mode:
authoryipechai <[email protected]>2022-02-14 08:01:02 +0000
committerAlex Deucher <[email protected]>2022-03-02 23:40:05 +0000
commit9dad47c50f9bf19153c092a73eb4721344f4a78d (patch)
tree5a0c27c8e21ec1a4975987290323ba6d97bf50d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
parentdrm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in gfx ras b... (diff)
downloadkernel-9dad47c50f9bf19153c092a73eb4721344f4a78d.tar.gz
kernel-9dad47c50f9bf19153c092a73eb4721344f4a78d.zip
drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in mmhub ras block
Remove redundant calls of amdgpu_ras_block_late_fini in mmhub ras block. Signed-off-by: yipechai <[email protected]> Reviewed-by: Tao Zhou <[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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
index e7c3b8fff868..8f2fa247d605 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
@@ -26,7 +26,5 @@
void amdgpu_mmhub_ras_fini(struct amdgpu_device *adev, struct ras_common_if *ras_block)
{
- if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__MMHUB) &&
- ras_block)
- amdgpu_ras_block_late_fini(adev, ras_block);
+
}