From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPZtV-0001NX-3V for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPZtO-0002U7-Uo for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:21 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:49169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPZtO-0002Tz-Nr for qemu-devel@nongnu.org; Thu, 04 Sep 2014 12:28:14 -0400 Received: by mail-pd0-f180.google.com with SMTP id p10so13977395pdj.39 for ; Thu, 04 Sep 2014 09:28:10 -0700 (PDT) From: Ming Lei Date: Fri, 5 Sep 2014 00:27:09 +0800 Message-Id: <1409848030-16568-4-git-send-email-ming.lei@canonical.com> In-Reply-To: <1409848030-16568-1-git-send-email-ming.lei@canonical.com> References: <1409848030-16568-1-git-send-email-ming.lei@canonical.com> Subject: [Qemu-devel] [PATCH v2 3/4] linux-aio: remove 'node' from 'struct qemu_laiocb' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Peter Maydell , Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf Cc: =?UTF-8?q?Beno=C3=AEt=20Canet?= , Ming Lei No one uses the 'node' field any more, so remove it from 'struct qemu_laiocb', and this can save 16byte for the struct on 64bit arch. Signed-off-by: Ming Lei --- block/linux-aio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/linux-aio.c b/block/linux-aio.c index 20a87ec..f45a142 100644 --- a/block/linux-aio.c +++ b/block/linux-aio.c @@ -35,7 +35,6 @@ struct qemu_laiocb { size_t nbytes; QEMUIOVector *qiov; bool is_read; - QLIST_ENTRY(qemu_laiocb) node; }; /* -- 1.7.9.5