Skip to content

Commit

Permalink
drm/amdgpu: remove unneeded semicolon
Browse files Browse the repository at this point in the history
Eliminate the following coccicheck warning:
./drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2725:16-17: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Yang Li authored and alexdeucher committed Jan 14, 2022
1 parent df4f004 commit 69f91d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
Expand Up @@ -2722,7 +2722,7 @@ struct amdgpu_ras* amdgpu_ras_get_context(struct amdgpu_device *adev)
int amdgpu_ras_set_context(struct amdgpu_device *adev, struct amdgpu_ras* ras_con)
{
if (!adev)
return -EINVAL;;
return -EINVAL;

adev->psp.ras_context.ras = ras_con;
return 0;
Expand Down

0 comments on commit 69f91d3

Please sign in to comment.