diff options
author | Guchun Chen <[email protected]> | 2020-06-02 13:53:09 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-06-02 16:47:43 -0400 |
commit | 9e69b1ee1d9e1d58244279e39f032658df8cead6 (patch) | |
tree | 64fb71401839f151b9ed1a5d39f648f285169437 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 5e91160ac0b5cfbbaeb62cbff8b069262095f744 (diff) |
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 <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index c4ccc7f6637d..9bfe59b70030 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -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; |