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>
This commit is contained in:
parent
63d229c32b
commit
b1201addc7
@ -108,7 +108,7 @@ bool qemu_co_enter_next(CoQueue *queue)
|
|||||||
|
|
||||||
bool qemu_co_queue_empty(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)
|
void qemu_co_mutex_init(CoMutex *mutex)
|
||||||
|
Loading…
Reference in New Issue
Block a user