X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Fstatic%2Fwfqueue.h;h=cc21fac53fa64f318a94420f92fe9883072e3ca1;hb=613086f69b4c8e6cc1b73b4e93d6d0497825d1ee;hp=636e1afa8e949e19bae448b1d5775eefd202f717;hpb=b9103f30e18bf81ffbebb6a23215f19f621cd76b;p=urcu.git 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();