Skip to content

Commit

Permalink
netfilter: remove obsolete need_conntrack stub
Browse files Browse the repository at this point in the history
as of a0ae256 ("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>
  • Loading branch information
Florian Westphal authored and Pablo Neira Ayuso committed Sep 17, 2018
1 parent 0935d55 commit 2953d80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions include/linux/netfilter/nf_conntrack_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
7 changes: 0 additions & 7 deletions net/netfilter/nf_conntrack_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 2953d80

Please sign in to comment.