From eddbbe3ecb2236b214c2f1f732d2737d6bca567c Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sat, 1 Aug 2026 21:10:00 +0200 Subject: [PATCH] altera: drop unneeded semicolon When a function-like macro expands to an expression, that expression doesn't need a semicolon after it. All uses have been verified to have their own semicolons. This was found using the following Coccinelle semantic patch: @r@ identifier i : script:ocaml() { String.lowercase_ascii i = i }; expression e; @@ *#define i(...) e; Signed-off-by: Julia Lawall Link: https://patch.msgid.link/20260801191002.1383835-14-Julia.Lawall@inria.fr Signed-off-by: Greg Kroah-Hartman --- drivers/misc/altera-stapl/altera-jtag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/altera-stapl/altera-jtag.c b/drivers/misc/altera-stapl/altera-jtag.c index 27e8e0c9e8cf..0238600107b0 100644 --- a/drivers/misc/altera-stapl/altera-jtag.c +++ b/drivers/misc/altera-stapl/altera-jtag.c @@ -17,9 +17,9 @@ #include "altera-jtag.h" #define alt_jtag_io(a, b, c)\ - astate->config->jtag_io(astate->config->dev, a, b, c); + astate->config->jtag_io(astate->config->dev, a, b, c) -#define alt_malloc(a) kzalloc(a, GFP_KERNEL); +#define alt_malloc(a) kzalloc(a, GFP_KERNEL) /* * This structure shows, for each JTAG state, which state is reached after