]> Git Repo - linux.git/commitdiff
drm/amd/amdgpu/amdgpu_ras: Remove unused function 'amdgpu_ras_error_cure'
authorLee Jones <[email protected]>
Fri, 13 Nov 2020 13:49:25 +0000 (13:49 +0000)
committerAlex Deucher <[email protected]>
Fri, 13 Nov 2020 22:29:47 +0000 (17:29 -0500)
Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:908:5: warning: no previous prototype for ‘amdgpu_ras_error_cure’ [-Wmissing-prototypes]

Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

index b96267068a72d0081377c3298bcb25266aea9313..f89a991999428ccad1e17ab9a6357fec0f3de6ef 100644 (file)
@@ -905,13 +905,6 @@ int amdgpu_ras_error_inject(struct amdgpu_device *adev,
        return ret;
 }
 
-int amdgpu_ras_error_cure(struct amdgpu_device *adev,
-               struct ras_cure_if *info)
-{
-       /* psp fw has no cure interface for now. */
-       return 0;
-}
-
 /* get the total error counts on all IPs */
 unsigned long amdgpu_ras_query_error_count(struct amdgpu_device *adev,
                bool is_ce)
This page took 0.06029 seconds and 4 git commands to generate.