summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nfnetlink_queue.c
diff options
context:
space:
mode:
authorArushi Singhal2017-04-02 11:22:12 +0200
committerPablo Neira Ayuso2017-04-07 18:24:47 +0200
commitd4ef38354120d873f5db14ca6e13d051ef4ab068 (patch)
tree1a22d782e59afb8663c18b65c1289497883bd79b /net/netfilter/nfnetlink_queue.c
parentnet: netfilter: Use list_{next/prev}_entry instead of list_entry (diff)
downloadkernel-qcow2-linux-d4ef38354120d873f5db14ca6e13d051ef4ab068.tar.gz
kernel-qcow2-linux-d4ef38354120d873f5db14ca6e13d051ef4ab068.tar.xz
kernel-qcow2-linux-d4ef38354120d873f5db14ca6e13d051ef4ab068.zip
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>
Diffstat (limited to 'net/netfilter/nfnetlink_queue.c')
-rw-r--r--net/netfilter/nfnetlink_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c
index 05e82004ab62..d09ab49e102a 100644
--- a/net/netfilter/nfnetlink_queue.c
+++ b/net/netfilter/nfnetlink_queue.c
@@ -1213,8 +1213,8 @@ static const struct nla_policy nfqa_cfg_policy[NFQA_CFG_MAX+1] = {
};
static const struct nf_queue_handler nfqh = {
- .outfn = &nfqnl_enqueue_packet,
- .nf_hook_drop = &nfqnl_nf_hook_drop,
+ .outfn = nfqnl_enqueue_packet,
+ .nf_hook_drop = nfqnl_nf_hook_drop,
};
static int nfqnl_recv_config(struct net *net, struct sock *ctnl,