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