drivers/gpu/drm/ast/ast_2100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
drivers/gpu/drm/ast/ast_2100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/ast/ast_2100.c b/drivers/gpu/drm/ast/ast_2100.c
index 91541c8eaff7..829e3b8b0d19 100644
--- a/drivers/gpu/drm/ast/ast_2100.c
+++ b/drivers/gpu/drm/ast/ast_2100.c
@@ -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;
--
2.25.1
Hi Am 05.09.25 um 09:37 schrieb Chen Ni: > Remove unnecessary semicolons reported by Coccinelle/coccicheck and the > semantic patch at scripts/coccinelle/misc/semicolon.cocci. > > Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Thanks for the fix. Best regards Thomas > --- > drivers/gpu/drm/ast/ast_2100.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/ast/ast_2100.c b/drivers/gpu/drm/ast/ast_2100.c > index 91541c8eaff7..829e3b8b0d19 100644 > --- a/drivers/gpu/drm/ast/ast_2100.c > +++ b/drivers/gpu/drm/ast/ast_2100.c > @@ -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; -- -- 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)
© 2016 - 2025 Red Hat, Inc.