diff options
author | Florian Westphal <fw@strlen.de> | 2024-08-28 11:34:02 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-09-03 10:47:17 +0200 |
commit | eaf9b2c875ece22768b78aa38da8b232e5de021b (patch) | |
tree | e7d6be3318a77b3eba55b0a6448b2a780c4c01fb /net/netfilter/nft_immediate.c | |
parent | 09c0d0aef56b3b026b55be092fd9e81f3ae0c8a9 (diff) | |
download | linux-eaf9b2c875ece22768b78aa38da8b232e5de021b.tar.gz linux-eaf9b2c875ece22768b78aa38da8b232e5de021b.tar.bz2 linux-eaf9b2c875ece22768b78aa38da8b232e5de021b.zip |
netfilter: nf_tables: drop unused 3rd argument from validate callback ops
Since commit a654de8fdc18 ("netfilter: nf_tables: fix chain dependency validation")
the validate() callback no longer needs the return pointer argument.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_immediate.c')
-rw-r--r-- | net/netfilter/nft_immediate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nft_immediate.c b/net/netfilter/nft_immediate.c index ac2422c215e5..02ee5fb69871 100644 --- a/net/netfilter/nft_immediate.c +++ b/net/netfilter/nft_immediate.c @@ -244,8 +244,7 @@ nla_put_failure: } static int nft_immediate_validate(const struct nft_ctx *ctx, - const struct nft_expr *expr, - const struct nft_data **d) + const struct nft_expr *expr) { const struct nft_immediate_expr *priv = nft_expr_priv(expr); struct nft_ctx *pctx = (struct nft_ctx *)ctx; |