{
struct cds_lfht_node *node, *next;
- node = iter->node;
- next = iter->next;
- node = clear_flag(next);
-
+ node = clear_flag(iter->next);
for (;;) {
if (unlikely(is_end(node))) {
node = next = NULL;
* first node of the linked list.
*/
lookup = &ht->t.tbl[0]->nodes[0];
- iter->node = (struct cds_lfht_node *) lookup;
+ iter->next = lookup->next;
cds_lfht_next(ht, iter);
}