summaryrefslogtreecommitdiff
path: root/include/net/netfilter/nf_conntrack_l3proto.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-11-15 21:36:39 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-12-04 21:16:41 +0100
commita379854d91b2cb0af07b0f62845449f4dacbd673 (patch)
treedf11f24450eb4fbcc147a502f7eaac8b3cd82770 /include/net/netfilter/nf_conntrack_l3proto.h
parent9b91c96c5d1f9da79438292f8c82f65cbf078645 (diff)
netfilter: conntrack: remove unused init_net hook
since adf0516845bcd0 ("netfilter: remove ip_conntrack* sysctl compat code") the only user (ipv4 tracker) sets this to an empty stub function. After this change nf_ct_l3proto_pernet_register() is also empty, but this will change in a followup patch to add conditional register of the hooks. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_l3proto.h')
-rw-r--r--include/net/netfilter/nf_conntrack_l3proto.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/netfilter/nf_conntrack_l3proto.h b/include/net/netfilter/nf_conntrack_l3proto.h
index 8992e4229da9..cf8f3dfd810d 100644
--- a/include/net/netfilter/nf_conntrack_l3proto.h
+++ b/include/net/netfilter/nf_conntrack_l3proto.h
@@ -63,9 +63,6 @@ struct nf_conntrack_l3proto {
size_t nla_size;
- /* Init l3proto pernet data */
- int (*init_net)(struct net *net);
-
/* Module (if any) which this is connected to. */
struct module *me;
};