[PATCH] serial: tegra-utc: Remove unneeded semicolon

Chen Ni posted 1 patch 10 months, 1 week ago
drivers/tty/serial/tegra-utc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] serial: tegra-utc: Remove unneeded semicolon
Posted by Chen Ni 10 months, 1 week ago
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/tty/serial/tegra-utc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/tegra-utc.c b/drivers/tty/serial/tegra-utc.c
index 39b14fe813c9..0c70d3e7b9b9 100644
--- a/drivers/tty/serial/tegra-utc.c
+++ b/drivers/tty/serial/tegra-utc.c
@@ -434,7 +434,7 @@ static void tegra_utc_console_write_atomic(struct console *cons, struct nbcon_wr
 
 		outbuf += burst_size;
 		len -= burst_size;
-	};
+	}
 
 	nbcon_exit_unsafe(wctxt);
 }
-- 
2.25.1
Re: [PATCH] serial: tegra-utc: Remove unneeded semicolon
Posted by Thierry Reding 9 months ago
On Mon, Apr 07, 2025 at 12:07:12PM +0800, Chen Ni wrote:
> 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/tty/serial/tegra-utc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This probably went under the radar, so in case it helps:

Acked-by: Thierry Reding <treding@nvidia.com>