diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index 1dfeba73fc743718d94551e9356ec8c6580a1fac..f6ce291b68e79f9af9b6ecdf506300f499987059 100644 --- a/lib/test_rhashtable.c +++ b/lib/test_rhashtable.c @@ -191,9 +191,10 @@ static int __init test_rhashtable(struct rhashtable *ht) return err; } +static struct rhashtable ht; + static int __init test_rht_init(void) { - struct rhashtable ht; struct rhashtable_params params = { .nelem_hint = TEST_HT_SIZE, .head_offset = offsetof(struct test_obj, node),