aboutsummaryrefslogtreecommitdiff
path: root/qemu-coroutine-lock.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2015-04-27 12:45:32 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:05:49 +0300
commitb1201addc7ceb8f1fcdc378071ec6f5ab5b3f7ab (patch)
tree65dfef01914345fc185ab6a21cccd408fce3ed8f /qemu-coroutine-lock.c
parent63d229c32b72767461262ade78a5cb98dbe0f1b4 (diff)
coroutine: remove unnecessary parentheses in qemu_co_queue_empty
Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
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 e4860ae42f..6b4903334b 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)