From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEVXT-0004iN-9F for qemu-devel@nongnu.org; Mon, 04 Aug 2014 23:35:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEVXN-0001z7-7d for qemu-devel@nongnu.org; Mon, 04 Aug 2014 23:35:51 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:43383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEVXM-0001z1-9f for qemu-devel@nongnu.org; Mon, 04 Aug 2014 23:35:44 -0400 Received: by mail-pa0-f54.google.com with SMTP id fa1so540501pad.27 for ; Mon, 04 Aug 2014 20:35:43 -0700 (PDT) From: Ming Lei Date: Tue, 5 Aug 2014 11:33:14 +0800 Message-Id: <1407209598-2572-14-git-send-email-ming.lei@canonical.com> In-Reply-To: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> References: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> Subject: [Qemu-devel] [PATCH v1 13/17] 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 Cc: Kevin Wolf , Ming Lei , Fam Zheng , "Michael S. Tsirkin" 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 bf94ae9..da50ea5 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