Received: from eggs.gnu.org ([2001:4830:134:3::10]:41230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvMuO-0008Qv-Di for qemu-devel@nongnu.org; Mon, 01 Dec 2014 04:04:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvMuI-0002DJ-86 for qemu-devel@nongnu.org; Mon, 01 Dec 2014 04:04:40 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:65022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvMuI-0002DE-2y for qemu-devel@nongnu.org; Mon, 01 Dec 2014 04:04:34 -0500 Received: by mail-pa0-f41.google.com with SMTP id rd3so10679993pab.14 for ; Mon, 01 Dec 2014 01:04:33 -0800 (PST) From: Ming Lei Date: Mon, 1 Dec 2014 17:04:16 +0800 Message-Id: <1417424656-29714-4-git-send-email-ming.lei@canonical.com> In-Reply-To: <1417424656-29714-1-git-send-email-ming.lei@canonical.com> References: <1417424656-29714-1-git-send-email-ming.lei@canonical.com> Subject: [Qemu-devel] [PATCH v7 3/3] 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, Paolo Bonzini , Stefan Hajnoczi , Kevin Wolf Cc: 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. Reviewed-by: Kevin Wolf Reviewed-by: Paolo Bonzini 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 9403b17..cad3848 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