netfilter: nft_set_hash: remove nft_hash_key()
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 Feb 2019 13:13:43 +0000 (14:13 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 27 Feb 2019 10:08:32 +0000 (11:08 +0100)
commit123f89c8aab782854d8b27b1c01f3f2cff33c20d
tree665a3c4cc970bc3675b664cec009c2e9b1025610
parenta01cbae57ec29b161d42ee1caa4ffffda5d519c2
netfilter: nft_set_hash: remove nft_hash_key()

hashtable is never used for 2-byte keys, remove nft_hash_key().

Fixes: e240cd0df481 ("netfilter: nf_tables: place all set backends in one single module")
Reported-by: Florian Westphal <fw@strlen.de>
Tested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_set_hash.c