From: Herbert Xu Date: Thu, 2 Apr 2015 04:29:50 +0000 (+0800) Subject: test_rhashtable: Remove bogus max_size setting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b81b7be6ae830a507d15cf4fc626be02cc9ab79b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Herbert Xu Acked-by: Thomas Graf Signed-off-by: David S. Miller --- 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), };