projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d229c
)
coroutine: remove unnecessary parentheses in qemu_co_queue_empty
author
Emilio G. Cota
<cota@braap.org>
Mon, 27 Apr 2015 16:45:32 +0000
(12:45 -0400)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Thu, 30 Apr 2015 13:05:49 +0000
(16:05 +0300)
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qemu-coroutine-lock.c
patch
|
blob
|
history
diff --git
a/qemu-coroutine-lock.c
b/qemu-coroutine-lock.c
index e4860ae42f7713b74f568ccf0c1310f7d632a08e..6b4903334bdf1d6a591c388a3ebae9bfc1b9c87d 100644
(file)
--- 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)