diff options
Diffstat (limited to 'lib/test_rhashtable.c')
-rw-r--r-- | lib/test_rhashtable.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index 8e83cbdc049c..76d3667fdea2 100644 --- a/lib/test_rhashtable.c +++ b/lib/test_rhashtable.c | |||
@@ -162,11 +162,7 @@ static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) | |||
162 | return; | 162 | return; |
163 | } | 163 | } |
164 | 164 | ||
165 | err = rhashtable_walk_start(&hti); | 165 | rhashtable_walk_start(&hti); |
166 | if (err && err != -EAGAIN) { | ||
167 | pr_warn("Test failed: iterator failed: %d\n", err); | ||
168 | return; | ||
169 | } | ||
170 | 166 | ||
171 | while ((pos = rhashtable_walk_next(&hti))) { | 167 | while ((pos = rhashtable_walk_next(&hti))) { |
172 | if (PTR_ERR(pos) == -EAGAIN) { | 168 | if (PTR_ERR(pos) == -EAGAIN) { |