summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-05-16 17:44:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-30 14:44:07 +0300
commitcfe1b9719ccedca902d0ea64349f87435fe7904a (patch)
tree712998b8e6e700d6c19c37212418f5ed7a2c9a20 /include
parent7c788393d45335f6fc5133a72545cfc23abfdebd (diff)
downloadlinux-cfe1b9719ccedca902d0ea64349f87435fe7904a.tar.xz
netfilter: nftables: statify nft_parse_register()
[ 08a01c11a5bb3de9b0a9c9b2685867e50eda9910 ] This function is not used anymore by any extension, statify it. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nf_tables.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
index 446f70132d82..ba5f97f5c490 100644
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -205,7 +205,6 @@ static inline enum nft_registers nft_type_to_reg(enum nft_data_types type)
}
int nft_parse_u32_check(const struct nlattr *attr, int max, u32 *dest);
-unsigned int nft_parse_register(const struct nlattr *attr);
int nft_dump_register(struct sk_buff *skb, unsigned int attr, unsigned int reg);
int nft_parse_register_load(const struct nlattr *attr, u8 *sreg, u32 len);