From: Mathieu Desnoyers Date: Mon, 29 Jun 2015 20:36:01 +0000 (-0400) Subject: Cleanup: cast poll delay return value to void X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=124bd5c7002312888e811e209f59fc623eb2defc;p=deliverable%2Fuserspace-rcu.git Cleanup: cast poll delay return value to void Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/static/wfqueue.h b/urcu/static/wfqueue.h index 636e1af..cc21fac 100644 --- a/urcu/static/wfqueue.h +++ b/urcu/static/wfqueue.h @@ -98,7 +98,7 @@ ___cds_wfq_node_sync_next(struct cds_wfq_node *node) */ while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { if (++attempt >= WFQ_ADAPT_ATTEMPTS) { - poll(NULL, 0, WFQ_WAIT); /* Wait for 10ms */ + (void) poll(NULL, 0, WFQ_WAIT); /* Wait for 10ms */ attempt = 0; } else caa_cpu_relax();