netfilter: remove obsolete need_conntrack stub
authorFlorian Westphal <fw@strlen.de>
Fri, 31 Aug 2018 18:29:37 +0000 (20:29 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Sep 2018 09:40:07 +0000 (11:40 +0200)
as of a0ae2562c6c4b27 ("netfilter: conntrack: remove l3proto
abstraction") there are no users anymore.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nf_conntrack_common.h
net/netfilter/nf_conntrack_standalone.c

index 03097fa70975434ed686d99b4cda8171749656e5..e142b2b5f1ea6715f0280dd0d9ded623322efee5 100644 (file)
@@ -19,7 +19,4 @@ struct ip_conntrack_stat {
        unsigned int search_restart;
 };
 
-/* call to create an explicit dependency on nf_conntrack. */
-void need_conntrack(void);
-
 #endif /* _NF_CONNTRACK_COMMON_H */
index 13279f683da9786f3b6fea88b96ba96bc07f62c5..e3b329ebafd39e5e45dc6388102a0d01f00c0c3c 100644 (file)
@@ -720,10 +720,3 @@ static void __exit nf_conntrack_standalone_fini(void)
 
 module_init(nf_conntrack_standalone_init);
 module_exit(nf_conntrack_standalone_fini);
-
-/* Some modules need us, but don't depend directly on any symbol.
-   They should call this. */
-void need_conntrack(void)
-{
-}
-EXPORT_SYMBOL_GPL(need_conntrack);