return value of cmpxchg is purposefully unused in
_cds_lfq_enqueue_rcu(). Cast it to (void) to remove the compiler
warning.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* 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 {
* 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;
}