Received: from eggs.gnu.org ([140.186.70.92]:39861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzWZh-0002zG-CQ for qemu-devel@nongnu.org; Mon, 20 Feb 2012 11:59:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzWZb-0001yo-Lj for qemu-devel@nongnu.org; Mon, 20 Feb 2012 11:58:53 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:40789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzWZb-0001yi-F9 for qemu-devel@nongnu.org; Mon, 20 Feb 2012 11:58:47 -0500 Received: by dadp14 with SMTP id p14so7360025dad.4 for ; Mon, 20 Feb 2012 08:58:46 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 20 Feb 2012 17:58:34 +0100 Message-Id: <1329757114-12665-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] block: remove unused fields in BlockDriverState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com sync_aiocb is unused since commit ce1a14d (Dynamically allocate AIO Completion Blocks., 2006-08-07). private is unused since commit 56a1493 (drive cleanup fixes., 2009-09-25). Signed-off-by: Paolo Bonzini --- block_int.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/block_int.h b/block_int.h index e84d4fa..66c235e 100644 --- a/block_int.h +++ b/block_int.h @@ -259,10 +259,6 @@ struct BlockDriverState { /* number of in-flight copy-on-read requests */ unsigned int copy_on_read_in_flight; - /* async read/write emulation */ - - void *sync_aiocb; - /* the time for latest disk I/O */ int64_t slice_time; int64_t slice_start; @@ -299,7 +295,6 @@ struct BlockDriverState { int64_t dirty_count; int in_use; /* users other than guest access, eg. block migration */ QTAILQ_ENTRY(BlockDriverState) list; - void *private; QLIST_HEAD(, BdrvTrackedRequest) tracked_requests; -- 1.7.7.6