Skip to contentSkip to conversation

drm/ast: ast_2100: Remove unneeded semicolon

PATCH In review Chen Ni 2 participants 2 messages Sep 5, 2025

Subsystems (3)
lore
Share & tools
lore

Chen Ni

author
#0 lore raw

PATCH 1/1 drm/ast: ast_2100: Remove unneeded semicolon

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci.

---
 drivers/gpu/drm/ast/ast_2100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ast/ast_2100.c +1 -1
index 91541c8eaff7..829e3b8b0d19 100644
@@ -336,7 +336,7 @@ static void ast_post_chip_2100(struct ast_device *ast)
 				default:
 					data = dram_reg_info->data;
 					break;
-				};
+				}
 
 				temp = ast_read32(ast, 0x12070);
 				temp &= 0xc;
Signature · 1 line
2.25.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi

Am 05.09.25 um 09:37 schrieb Chen Ni:

Quoted 4 lines

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Thanks for the fix.

Best regards
Thomas

Quoted 17 lines
---
  drivers/gpu/drm/ast/ast_2100.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ast/ast_2100.c +1 -1
index 91541c8eaff7..829e3b8b0d19 100644
@@ -336,7 +336,7 @@ static void ast_post_chip_2100(struct ast_device *ast)
  				default:
  					data = dram_reg_info->data;
  					break;
-				};
+				}
 
  				temp = ast_read32(ast, 0x12070);
  				temp &= 0xc;
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)