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 <Julia.Lawall@inria.fr>
Link: https://patch.msgid.link/20260801191002.1383835-14-Julia.Lawall@inria.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Julia Lawall 2026-08-01 21:10:00 +02:00 committed by Greg Kroah-Hartman
parent b67eeae485
commit eddbbe3ecb

View File

@ -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