Received: from eggs.gnu.org ([2001:4830:134:3::10]:39338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymm9m-0003po-Or for qemu-devel@nongnu.org; Mon, 27 Apr 2015 12:45:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymm9h-0001UO-DN for qemu-devel@nongnu.org; Mon, 27 Apr 2015 12:45:18 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymm9h-0001To-9h for qemu-devel@nongnu.org; Mon, 27 Apr 2015 12:45:13 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 14FB920AF9 for ; Mon, 27 Apr 2015 12:45:13 -0400 (EDT) From: "Emilio G. Cota" Date: Mon, 27 Apr 2015 12:45:32 -0400 Message-Id: <1430153133-30988-6-git-send-email-cota@braap.org> In-Reply-To: <1430153133-30988-1-git-send-email-cota@braap.org> References: <1430153133-30988-1-git-send-email-cota@braap.org> Subject: [Qemu-devel] [PATCH 5/6] coroutine: remove unnecessary parentheses in qemu_co_queue_empty List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org Signed-off-by: Emilio G. Cota --- qemu-coroutine-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.9.1