Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
if (!blocking)
return 1;
if (++(*attempt) >= WFCQ_ADAPT_ATTEMPTS) {
- poll(NULL, 0, WFCQ_WAIT); /* Wait for 10ms */
+ (void) poll(NULL, 0, WFCQ_WAIT); /* Wait for 10ms */
*attempt = 0;
} else {
caa_cpu_relax();
if (!blocking)
return CDS_WFS_WOULDBLOCK;
if (++attempt >= CDS_WFS_ADAPT_ATTEMPTS) {
- poll(NULL, 0, CDS_WFS_WAIT); /* Wait for 10ms */
+ (void) poll(NULL, 0, CDS_WFS_WAIT); /* Wait for 10ms */
attempt = 0;
} else {
caa_cpu_relax();