summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-03-11 17:30:13 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2020-03-15 17:27:48 +0300
commit795a6d6b42244d0aabec645c6ddd05c29cfd39d6 (patch)
tree201dff52b5f76a605e00265801cf3c7d52c43e9e /include
parenta7fc936804084145e2a6374e23744defdc948e09 (diff)
downloadlinux-795a6d6b42244d0aabec645c6ddd05c29cfd39d6.tar.xz
netfilter: nf_tables: statify nft_expr_init()
Not exposed anymore to modules, statify this function. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nf_tables.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
index 52b872a9a2cd..025ec148ea4f 100644
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -846,8 +846,6 @@ static inline void *nft_expr_priv(const struct nft_expr *expr)
return (void *)expr->data;
}
-struct nft_expr *nft_expr_init(const struct nft_ctx *ctx,
- const struct nlattr *nla);
void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
int nft_expr_dump(struct sk_buff *skb, unsigned int attr,
const struct nft_expr *expr);