summaryrefslogtreecommitdiffstats
path: root/lib
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
parentb98d8075e65c9cb688e73b941d873986e7bbf7ae (diff)
downloadop-kernel-dev-b81b7be6ae830a507d15cf4fc626be02cc9ab79b.zip
op-kernel-dev-b81b7be6ae830a507d15cf4fc626be02cc9ab79b.tar.gz
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')
-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 a42a0d4..b295754 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),
};
OpenPOWER on IntegriCloud