diff options
author | Emilio G. Cota <cota@braap.org> | 2015-04-27 12:45:32 -0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-04-30 16:05:49 +0300 |
commit | b1201addc7ceb8f1fcdc378071ec6f5ab5b3f7ab (patch) | |
tree | 65dfef01914345fc185ab6a21cccd408fce3ed8f /qemu-coroutine-lock.c | |
parent | 63d229c32b72767461262ade78a5cb98dbe0f1b4 (diff) | |
download | qemu-b1201addc7ceb8f1fcdc378071ec6f5ab5b3f7ab.zip qemu-b1201addc7ceb8f1fcdc378071ec6f5ab5b3f7ab.tar.gz qemu-b1201addc7ceb8f1fcdc378071ec6f5ab5b3f7ab.tar.bz2 |
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.c | 2 |
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) |