rhashtable: remove insecure_max_entries param
authorFlorian Westphal <fw@strlen.de>
Tue, 25 Apr 2017 09:41:34 +0000 (11:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Apr 2017 18:39:24 +0000 (14:39 -0400)
commit038a3e858de4e3ddf42c330a22b7efcddbc0a81a
treeead97d56b9276b64fbc89f5ed00f6696a490a8ff
parent7acedaf5c4355f812cfef883ac28bf15f7d9205e
rhashtable: remove insecure_max_entries param

no users in the tree, insecure_max_entries is always set to
ht->p.max_size * 2 in rhtashtable_init().

Replace only spot that uses it with a ht->p.max_size check.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h
lib/rhashtable.c