Cleanup: remove unused value warning
[urcu.git] / urcu / rculfqueue-static.h
index 95294f91ca5799523a9882389b96cc872f3baf2b..d7c359f39e46906b910b544f5ebebb68cc2d242d 100644 (file)
@@ -86,7 +86,7 @@ void _cds_lfq_enqueue_rcu(struct cds_lfq_queue_rcu *q, struct cds_lfq_node_rcu *
                         * Now move tail (another enqueue might beat
                         * us to it, that's fine).
                         */
-                       uatomic_cmpxchg(&q->tail, tail, node);
+                       (void) uatomic_cmpxchg(&q->tail, tail, node);
                        rcu_read_unlock();
                        return;
                } else {
@@ -94,7 +94,7 @@ void _cds_lfq_enqueue_rcu(struct cds_lfq_queue_rcu *q, struct cds_lfq_node_rcu *
                         * Failure to append to current tail. Help moving tail
                         * further and retry.
                         */
-                       uatomic_cmpxchg(&q->tail, tail, next);
+                       (void) uatomic_cmpxchg(&q->tail, tail, next);
                        rcu_read_unlock();
                        continue;
                }
This page took 0.022892 seconds and 4 git commands to generate.