netfilter: Remove exceptional & on function name
Remove & from function pointers to conform to the style found elsewhere
in the file. Done using the following semantic patch
// <smpl>
@r@
identifier f;
@@
f(...) { ... }
@@
identifier r.f;
@@
- &f
+ f
// </smpl>
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
committed by
Pablo Neira Ayuso
parent
cbbb40e2ec
commit
d4ef383541
@@ -212,7 +212,7 @@ nft_fib4_select_ops(const struct nft_ctx *ctx,
|
||||
|
||||
static struct nft_expr_type nft_fib4_type __read_mostly = {
|
||||
.name = "fib",
|
||||
.select_ops = &nft_fib4_select_ops,
|
||||
.select_ops = nft_fib4_select_ops,
|
||||
.policy = nft_fib_policy,
|
||||
.maxattr = NFTA_FIB_MAX,
|
||||
.family = NFPROTO_IPV4,
|
||||
|
||||
Reference in New Issue
Block a user