From fc916688fc1976bd115567a50e2befd73a6d1555 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 13 Sep 2011 18:18:52 -0400 Subject: [PATCH] rculfhash: remove verified TODOs Signed-off-by: Mathieu Desnoyers --- rculfhash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/rculfhash.c b/rculfhash.c index f95ef5d..c593cab 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -752,10 +752,8 @@ struct cds_lfht_node *_cds_lfht_add(struct cds_lfht *ht, iter = rcu_dereference(iter_prev->p.next); assert(iter_prev->p.reverse_hash <= node->p.reverse_hash); for (;;) { - /* TODO: check if removed */ if (unlikely(!clear_flag(iter))) goto insert; - /* TODO: check if removed */ if (likely(clear_flag(iter)->p.reverse_hash > node->p.reverse_hash)) goto insert; next = rcu_dereference(clear_flag(iter)->p.next); -- 2.34.1