summaryrefslogtreecommitdiffstats
path: root/lib/test_rhashtable.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-02 12:29:50 +0800
committerDavid S. Miller <davem@davemloft.net>2015-04-03 15:09:36 -0400
commitb81b7be6ae830a507d15cf4fc626be02cc9ab79b (patch)
tree81703685c69c22961fc3cc32b813efbc338b296d /lib/test_rhashtable.c
parentb98d8075e65c9cb688e73b941d873986e7bbf7ae (diff)
downloadlinux-stable-b81b7be6ae830a507d15cf4fc626be02cc9ab79b.tar.gz
linux-stable-b81b7be6ae830a507d15cf4fc626be02cc9ab79b.tar.bz2
linux-stable-b81b7be6ae830a507d15cf4fc626be02cc9ab79b.zip
test_rhashtable: Remove bogus max_size setting
Now that resizing is completely automatic, we need to remove the max_size setting or the test will fail. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_rhashtable.c')
-rw-r--r--lib/test_rhashtable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c
index a42a0d44e818..b2957540d3c7 100644
--- a/lib/test_rhashtable.c
+++ b/lib/test_rhashtable.c
@@ -44,7 +44,6 @@ static const struct rhashtable_params test_rht_params = {
.key_offset = offsetof(struct test_obj, value),
.key_len = sizeof(int),
.hashfn = jhash,
- .max_size = 2, /* we expand/shrink manually here */
.nulls_base = (3U << RHT_BASE_SHIFT),
};