mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
b67eeae485
commit
eddbbe3ecb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user