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: Guchun Chen <guchun.chen@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5e91160ac0
commit
9e69b1ee1d
@ -1938,8 +1938,6 @@ int amdgpu_ras_init(struct amdgpu_device *adev)
|
||||
goto err_out;
|
||||
}
|
||||
|
||||
amdgpu_ras_mask &= AMDGPU_RAS_BLOCK_MASK;
|
||||
|
||||
if (amdgpu_ras_fs_init(adev)) {
|
||||
r = -EINVAL;
|
||||
goto err_out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user