diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-12-30 17:16:08 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-01-03 23:41:37 +0100 |
commit | dcd93ed4cd1669b2c1510e801fe5f1132390761c (patch) | |
tree | 28049dbc7702c0c453f1af93359b3e5f24b342d9 /net/netfilter/nf_conntrack_proto.c | |
parent | 02eca9d2cc541806e8f03b4131c7ee9120246df7 (diff) | |
download | op-kernel-dev-dcd93ed4cd1669b2c1510e801fe5f1132390761c.zip op-kernel-dev-dcd93ed4cd1669b2c1510e801fe5f1132390761c.tar.gz |
netfilter: nf_conntrack: remove dead code
The following code is not used in current upstream code.
Some of this seems to be old hooks, other might be used by some
out of tree module (which I don't care about breaking), and
the need_ipv4_conntrack was used by old NAT code but no longer
called.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto.c')
-rw-r--r-- | net/netfilter/nf_conntrack_proto.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/netfilter/nf_conntrack_proto.c b/net/netfilter/nf_conntrack_proto.c index ce30041..b65d586 100644 --- a/net/netfilter/nf_conntrack_proto.c +++ b/net/netfilter/nf_conntrack_proto.c @@ -92,12 +92,6 @@ nf_ct_l3proto_find_get(u_int16_t l3proto) } EXPORT_SYMBOL_GPL(nf_ct_l3proto_find_get); -void nf_ct_l3proto_put(struct nf_conntrack_l3proto *p) -{ - module_put(p->me); -} -EXPORT_SYMBOL_GPL(nf_ct_l3proto_put); - int nf_ct_l3proto_try_module_get(unsigned short l3proto) { |