diff options
author | Florian Westphal <fw@strlen.de> | 2018-09-12 16:19:12 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-09-20 19:03:50 +0300 |
commit | ca2ca6e1c04e64413f5fb9a5d54fb8b0bdd86467 (patch) | |
tree | d8c3bf0c3766110fd28c2b33808aa0a88006f83c /net/netfilter/nf_conntrack_proto_generic.c | |
parent | 6fe78fa484a5dad030b24e33e0cedc5d5bbd0fde (diff) | |
download | linux-ca2ca6e1c04e64413f5fb9a5d54fb8b0bdd86467.tar.xz |
netfilter: conntrack: remove unused proto arg from netns init functions
Its unused, next patch will remove l4proto->l3proto number to simplify
l4 protocol demuxer lookup.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto_generic.c')
-rw-r--r-- | net/netfilter/nf_conntrack_proto_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_proto_generic.c b/net/netfilter/nf_conntrack_proto_generic.c index fea952518d0d..4530f76b51bd 100644 --- a/net/netfilter/nf_conntrack_proto_generic.c +++ b/net/netfilter/nf_conntrack_proto_generic.c @@ -136,7 +136,7 @@ static int generic_kmemdup_sysctl_table(struct nf_proto_net *pn, return 0; } -static int generic_init_net(struct net *net, u_int16_t proto) +static int generic_init_net(struct net *net) { struct nf_generic_net *gn = generic_pernet(net); struct nf_proto_net *pn = &gn->pn; |