mirror of
https://github.com/torvalds/linux.git
synced 2026-09-13 15:40:03 +02:00
netlink: 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-10-Julia.Lawall@inria.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
376608d921
commit
ced18ba795
|
|
@ -145,7 +145,7 @@ DEFINE_RWLOCK(nl_table_lock);
|
|||
EXPORT_SYMBOL_GPL(nl_table_lock);
|
||||
static atomic_t nl_table_users = ATOMIC_INIT(0);
|
||||
|
||||
#define nl_deref_protected(X) rcu_dereference_protected(X, lockdep_is_held(&nl_table_lock));
|
||||
#define nl_deref_protected(X) rcu_dereference_protected(X, lockdep_is_held(&nl_table_lock))
|
||||
|
||||
static BLOCKING_NOTIFIER_HEAD(netlink_chain);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user