mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/ast: ast_2100: Remove unneeded semicolon
@ 2025-09-05  7:37 Chen Ni
  2025-09-05  8:02 ` Thomas Zimmermann
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Ni @ 2025-09-05  7:37 UTC (permalink / raw)
  To: airlied, tzimmermann, jfalempe, maarten.lankhorst, mripard,
	airlied, simona
  Cc: dri-devel, linux-kernel, 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>
---
 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


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

* Re: [PATCH] drm/ast: ast_2100: Remove unneeded semicolon
  2025-09-05  7:37 [PATCH] drm/ast: ast_2100: Remove unneeded semicolon Chen Ni
@ 2025-09-05  8:02 ` Thomas Zimmermann
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Zimmermann @ 2025-09-05  8:02 UTC (permalink / raw)
  To: Chen Ni, airlied, jfalempe, maarten.lankhorst, mripard, airlied, simona
  Cc: dri-devel, linux-kernel

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)



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

end of thread, other threads:[~2025-09-05  8:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-05  7:37 [PATCH] drm/ast: ast_2100: Remove unneeded semicolon Chen Ni
2025-09-05  8:02 ` Thomas Zimmermann

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

all inboxes | Powered by JetHome®