aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nfnetlink_log.c
diff options
context:
space:
mode:
authorArushi Singhal <arushisinghal19971997@gmail.com>2017-04-02 14:52:12 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2017-04-07 18:24:47 +0200
commitd4ef38354120d873f5db14ca6e13d051ef4ab068 (patch)
tree1a22d782e59afb8663c18b65c1289497883bd79b /net/netfilter/nfnetlink_log.c
parentnet: netfilter: Use list_{next/prev}_entry instead of list_entry (diff)
downloadlinux-dev-d4ef38354120d873f5db14ca6e13d051ef4ab068.tar.xz
linux-dev-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_log.c')
-rw-r--r--net/netfilter/nfnetlink_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c
index e7648e90d162..896741206a50 100644
--- a/net/netfilter/nfnetlink_log.c
+++ b/net/netfilter/nfnetlink_log.c
@@ -803,7 +803,7 @@ static int nfulnl_recv_unsupp(struct net *net, struct sock *ctnl,
static struct nf_logger nfulnl_logger __read_mostly = {
.name = "nfnetlink_log",
.type = NF_LOG_TYPE_ULOG,
- .logfn = &nfulnl_log_packet,
+ .logfn = nfulnl_log_packet,
.me = THIS_MODULE,
};