summaryrefslogtreecommitdiffstats
path: root/qemu-coroutine-lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-coroutine-lock.c')
-rw-r--r--qemu-coroutine-lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-coroutine-lock.c b/qemu-coroutine-lock.c
index e4860ae..6b49033 100644
--- a/qemu-coroutine-lock.c
+++ b/qemu-coroutine-lock.c
@@ -108,7 +108,7 @@ bool qemu_co_enter_next(CoQueue *queue)
bool qemu_co_queue_empty(CoQueue *queue)
{
- return (QTAILQ_FIRST(&queue->entries) == NULL);
+ return QTAILQ_FIRST(&queue->entries) == NULL;
}
void qemu_co_mutex_init(CoMutex *mutex)
OpenPOWER on IntegriCloud