public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next 1/2 v2] drm/amdgpu: remove unneeded semicolon
@ 2022-01-13  7:11 Yang Li
  2022-01-13  7:11 ` [PATCH -next 2/2 v2] drm/amdgpu: clean up some inconsistent indenting Yang Li
  2022-01-13 13:38 ` [PATCH -next 1/2 v2] drm/amdgpu: remove unneeded semicolon Chen, Guchun
  0 siblings, 2 replies; 4+ messages in thread
From: Yang Li @ 2022-01-13  7:11 UTC (permalink / raw)
  To: airlied, Guchun.Chen
  Cc: daniel, alexander.deucher, christian.koenig, Xinhui.Pan, amd-gfx,
	dri-devel, linux-kernel, Yang Li, Abaci Robot

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>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index d4d9b9ea8bbd..ff9bd5a844fe 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -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;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-13 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-13  7:11 [PATCH -next 1/2 v2] drm/amdgpu: remove unneeded semicolon Yang Li
2022-01-13  7:11 ` [PATCH -next 2/2 v2] drm/amdgpu: clean up some inconsistent indenting Yang Li
2022-01-13 13:38 ` [PATCH -next 1/2 v2] drm/amdgpu: remove unneeded semicolon Chen, Guchun
2022-01-13 18:28   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox