diff mbox series

serial: tegra-utc: Remove unneeded semicolon

Message ID 20250407040712.2577607-1-nichen@iscas.ac.cn
State New
Headers show
Series serial: tegra-utc: Remove unneeded semicolon | expand

Commit Message

Chen Ni April 7, 2025, 4:07 a.m. UTC
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(-)

Comments

Thierry Reding May 7, 2025, 3:43 p.m. UTC | #1
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>
diff mbox series

Patch

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);
 }