mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
David S. Miller
parent
b98d8075e6
commit
b81b7be6ae
@@ -44,7 +44,6 @@ static const struct rhashtable_params test_rht_params = {
|
|||||||
.key_offset = offsetof(struct test_obj, value),
|
.key_offset = offsetof(struct test_obj, value),
|
||||||
.key_len = sizeof(int),
|
.key_len = sizeof(int),
|
||||||
.hashfn = jhash,
|
.hashfn = jhash,
|
||||||
.max_size = 2, /* we expand/shrink manually here */
|
|
||||||
.nulls_base = (3U << RHT_BASE_SHIFT),
|
.nulls_base = (3U << RHT_BASE_SHIFT),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user