diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-02 00:29:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-03 15:09:36 -0400 |
commit | b81b7be6ae830a507d15cf4fc626be02cc9ab79b (patch) | |
tree | 81703685c69c22961fc3cc32b813efbc338b296d | |
parent | b98d8075e65c9cb688e73b941d873986e7bbf7ae (diff) |
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>
-rw-r--r-- | lib/test_rhashtable.c | 1 |
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 = { | |||
44 | .key_offset = offsetof(struct test_obj, value), | 44 | .key_offset = offsetof(struct test_obj, value), |
45 | .key_len = sizeof(int), | 45 | .key_len = sizeof(int), |
46 | .hashfn = jhash, | 46 | .hashfn = jhash, |
47 | .max_size = 2, /* we expand/shrink manually here */ | ||
48 | .nulls_base = (3U << RHT_BASE_SHIFT), | 47 | .nulls_base = (3U << RHT_BASE_SHIFT), |
49 | }; | 48 | }; |
50 | 49 | ||