Commit 9e69b1ee authored by Guchun Chen's avatar Guchun Chen Committed by Alex Deucher

drm/amdgpu: remove useless code in RAS

Module parameter amdgpu_ras_mask has been involved in
the calculation of ras support capability, so drop this
redundant code.
Signed-off-by: default avatarGuchun Chen <guchun.chen@amd.com>
Reviewed-by: default avatarTao Zhou <tao.zhou1@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5e91160a
...@@ -1938,8 +1938,6 @@ int amdgpu_ras_init(struct amdgpu_device *adev) ...@@ -1938,8 +1938,6 @@ int amdgpu_ras_init(struct amdgpu_device *adev)
goto err_out; goto err_out;
} }
amdgpu_ras_mask &= AMDGPU_RAS_BLOCK_MASK;
if (amdgpu_ras_fs_init(adev)) { if (amdgpu_ras_fs_init(adev)) {
r = -EINVAL; r = -EINVAL;
goto err_out; goto err_out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment