aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_seqadj.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-01-20 13:07:02 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2022-02-04 06:30:28 +0100
commit1015c3de23eedb8ac5a163165434484df44cfe00 (patch)
tree1d55d208165062fb89475272900a396c25cdda8b /net/netfilter/nf_conntrack_seqadj.c
parent1bc91a5ddf3eaea0e0ea957cccf3abdcfcace00e (diff)
downloadlinux-1015c3de23eedb8ac5a163165434484df44cfe00.tar.gz
netfilter: conntrack: remove extension register api
These no longer register/unregister a meaningful structure so remove it. Cc: Paul Blakey <paulb@nvidia.com> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_seqadj.c')
-rw-r--r--net/netfilter/nf_conntrack_seqadj.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/net/netfilter/nf_conntrack_seqadj.c b/net/netfilter/nf_conntrack_seqadj.c
index b9629916e53d9..7ab2b25b57bcc 100644
--- a/net/netfilter/nf_conntrack_seqadj.c
+++ b/net/netfilter/nf_conntrack_seqadj.c
@@ -232,17 +232,3 @@ s32 nf_ct_seq_offset(const struct nf_conn *ct,
this_way->offset_after : this_way->offset_before;
}
EXPORT_SYMBOL_GPL(nf_ct_seq_offset);
-
-static const struct nf_ct_ext_type nf_ct_seqadj_extend = {
- .id = NF_CT_EXT_SEQADJ,
-};
-
-int nf_conntrack_seqadj_init(void)
-{
- return nf_ct_extend_register(&nf_ct_seqadj_extend);
-}
-
-void nf_conntrack_seqadj_fini(void)
-{
- nf_ct_extend_unregister(&nf_ct_seqadj_extend);
-}