mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
netfilter: nf_tables: Remove unused nft_reduce_is_readonly()
[ Upstream commitbf6788742b] Since commit9e539c5b6d("netfilter: nf_tables: disable expression reduction infra") this is unused. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Stable-dep-of:d07955dd34("netfilter: nft_fib: reject fib expression on the netdev egress hook") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e64a48c50a
commit
363e37bebb
@@ -1851,11 +1851,6 @@ static inline u64 nft_net_tstamp(const struct net *net)
|
||||
#define __NFT_REDUCE_READONLY 1UL
|
||||
#define NFT_REDUCE_READONLY (void *)__NFT_REDUCE_READONLY
|
||||
|
||||
static inline bool nft_reduce_is_readonly(const struct nft_expr *expr)
|
||||
{
|
||||
return expr->ops->reduce == NFT_REDUCE_READONLY;
|
||||
}
|
||||
|
||||
void nft_reg_track_update(struct nft_regs_track *track,
|
||||
const struct nft_expr *expr, u8 dreg, u8 len);
|
||||
void nft_reg_track_cancel(struct nft_regs_track *track, u8 dreg, u8 len);
|
||||
|
||||
Reference in New Issue
Block a user