From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5yCY-0005Oz-MQ for qemu-devel@nongnu.org; Tue, 20 Sep 2011 07:09:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5yCX-00008i-6z for qemu-devel@nongnu.org; Tue, 20 Sep 2011 07:09:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5yCW-00008S-V4 for qemu-devel@nongnu.org; Tue, 20 Sep 2011 07:09:21 -0400 From: Kevin Wolf Date: Tue, 20 Sep 2011 13:11:51 +0200 Message-Id: <1316517112-9908-20-git-send-email-kwolf@redhat.com> In-Reply-To: <1316517112-9908-1-git-send-email-kwolf@redhat.com> References: <1316517112-9908-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 19/20] linux-aio: remove process requests callback List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Paolo Bonzini Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- linux-aio.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/linux-aio.c b/linux-aio.c index 5265a02..bffa6cd 100644 --- a/linux-aio.c +++ b/linux-aio.c @@ -68,15 +68,6 @@ static void qemu_laio_process_completion(struct qemu_laio_state *s, qemu_aio_release(laiocb); } -/* - * All requests are directly processed when they complete, so there's nothing - * left to do during qemu_aio_wait(). - */ -static int qemu_laio_process_requests(void *opaque) -{ - return 0; -} - static void qemu_laio_completion_cb(void *opaque) { struct qemu_laio_state *s = opaque; @@ -215,7 +206,7 @@ void *laio_init(void) goto out_close_efd; qemu_aio_set_fd_handler(s->efd, qemu_laio_completion_cb, NULL, - qemu_laio_flush_cb, qemu_laio_process_requests, s); + qemu_laio_flush_cb, NULL, s); return s; -- 1.7.6.2