From 124bd5c7002312888e811e209f59fc623eb2defc Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 29 Jun 2015 16:36:01 -0400 Subject: [PATCH 1/1] Cleanup: cast poll delay return value to void Signed-off-by: Mathieu Desnoyers --- urcu/static/wfqueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.34.1