Update the test module as such. Signed-off-by: Davidlohr Bueso <dbueso@xxxxxxx> --- lib/test_rhashtable.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index f4000c137dbe..a894eb0407f0 100644 --- a/lib/test_rhashtable.c +++ b/lib/test_rhashtable.c @@ -182,11 +182,7 @@ static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) struct rhashtable_iter hti; struct rhash_head *pos; - err = rhashtable_walk_init(ht, &hti, GFP_KERNEL); - if (err) { - pr_warn("Test failed: allocation error"); - return; - } + rhashtable_walk_init(ht, &hti, GFP_KERNEL); rhashtable_walk_start(&hti); -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html