summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-12-30 17:16:08 -0800
committerPablo Neira Ayuso <pablo@netfilter.org>2014-01-03 23:41:37 +0100
commitdcd93ed4cd1669b2c1510e801fe5f1132390761c (patch)
tree28049dbc7702c0c453f1af93359b3e5f24b342d9 /net/ipv4
parent02eca9d2cc541806e8f03b4131c7ee9120246df7 (diff)
downloadblackbird-op-linux-dcd93ed4cd1669b2c1510e801fe5f1132390761c.tar.gz
blackbird-op-linux-dcd93ed4cd1669b2c1510e801fe5f1132390761c.zip
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/ipv4')
-rw-r--r--net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
index ecd8bec411c9..8127dc802865 100644
--- a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
+++ b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
@@ -548,9 +548,3 @@ static void __exit nf_conntrack_l3proto_ipv4_fini(void)
module_init(nf_conntrack_l3proto_ipv4_init);
module_exit(nf_conntrack_l3proto_ipv4_fini);
-
-void need_ipv4_conntrack(void)
-{
- return;
-}
-EXPORT_SYMBOL_GPL(need_ipv4_conntrack);
OpenPOWER on IntegriCloud