Skip to contentSkip to conversation

drm/dp: Remove unneeded semicolon

PATCH New Yang Li 1 participant 2 messages Mar 1, 2024

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/2 drm/dp: Remove unneeded semicolon

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.

---
 drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/display/drm_dp_tunnel.c +1 -1
index 120e0de674c1..479dd004f365 100644
@@ -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);
 
Signature · 1 line
2.20.1.7.g153144c
author
#1 lore raw

PATCH 2/2 drm/xe: Remove unneeded semicolon

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.

---
 drivers/gpu/drm/xe/xe_rtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_rtp.c +1 -1
index fb44cc7521d8..316ed2f6d1f0 100644
@@ -165,7 +165,7 @@ static void rtp_get_context(struct xe_rtp_process_ctx *ctx,
 		*gt = (*hwe)->gt;
 		*xe = gt_to_xe(*gt);
 		break;
-	};
+	}
 }
 
 /**
Signature · 1 line
2.20.1.7.g153144c