public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next 1/2] drm/dp: Remove unneeded semicolon
@ 2024-03-01  9:05 Yang Li
  2024-03-01  9:05 ` [PATCH -next 2/2] drm/xe: " Yang Li
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2024-03-01  9:05 UTC (permalink / raw)
  To: thomas.hellstrom, maarten.lankhorst; +Cc: dri-devel, linux-kernel, Yang Li

This patch removes the unnecessary semicolons at the end of the
for statements which cleans up the code and ensures consistency
with the rest of the kernel coding style.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/display/drm_dp_tunnel.c b/drivers/gpu/drm/display/drm_dp_tunnel.c
index 120e0de674c1..479dd004f365 100644
--- a/drivers/gpu/drm/display/drm_dp_tunnel.c
+++ b/drivers/gpu/drm/display/drm_dp_tunnel.c
@@ -1125,7 +1125,7 @@ static int allocate_tunnel_bw(struct drm_dp_tunnel *tunnel, int bw)
 		}
 
 		timeout = wait_woken(&wait, TASK_UNINTERRUPTIBLE, timeout);
-	};
+	}
 
 	remove_wait_queue(&mgr->bw_req_queue, &wait);
 
-- 
2.20.1.7.g153144c


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

* [PATCH -next 2/2] drm/xe: Remove unneeded semicolon
  2024-03-01  9:05 [PATCH -next 1/2] drm/dp: Remove unneeded semicolon Yang Li
@ 2024-03-01  9:05 ` Yang Li
  0 siblings, 0 replies; 2+ messages in thread
From: Yang Li @ 2024-03-01  9:05 UTC (permalink / raw)
  To: thomas.hellstrom, maarten.lankhorst; +Cc: dri-devel, linux-kernel, Yang Li

This patch removes the unnecessary semicolons at the end of the
switch-case statements which cleans up the code and ensures consistency
with the rest of the kernel coding style.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/xe/xe_rtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_rtp.c b/drivers/gpu/drm/xe/xe_rtp.c
index fb44cc7521d8..316ed2f6d1f0 100644
--- a/drivers/gpu/drm/xe/xe_rtp.c
+++ b/drivers/gpu/drm/xe/xe_rtp.c
@@ -165,7 +165,7 @@ static void rtp_get_context(struct xe_rtp_process_ctx *ctx,
 		*gt = (*hwe)->gt;
 		*xe = gt_to_xe(*gt);
 		break;
-	};
+	}
 }
 
 /**
-- 
2.20.1.7.g153144c


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

end of thread, other threads:[~2024-03-01  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01  9:05 [PATCH -next 1/2] drm/dp: Remove unneeded semicolon Yang Li
2024-03-01  9:05 ` [PATCH -next 2/2] drm/xe: " Yang Li

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