Cleanup: cast poll delay return value to void
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 29 Jun 2015 20:36:01 +0000 (16:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 29 Jun 2015 20:36:01 +0000 (16:36 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/static/wfqueue.h

index 636e1afa8e949e19bae448b1d5775eefd202f717..cc21fac53fa64f318a94420f92fe9883072e3ca1 100644 (file)
@@ -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();
This page took 0.034767 seconds and 4 git commands to generate.