From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2lFH-0005uJ-NY for qemu-devel@nongnu.org; Wed, 29 Feb 2012 10:15:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2lF2-0003Vy-CP for qemu-devel@nongnu.org; Wed, 29 Feb 2012 10:15:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2lF2-0003VW-4E for qemu-devel@nongnu.org; Wed, 29 Feb 2012 10:14:56 -0500 From: Kevin Wolf Date: Wed, 29 Feb 2012 16:17:54 +0100 Message-Id: <1330528688-21996-14-git-send-email-kwolf@redhat.com> In-Reply-To: <1330528688-21996-1-git-send-email-kwolf@redhat.com> References: <1330528688-21996-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 13/27] block: remove unused fields in BlockDriverState 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 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 Signed-off-by: Kevin Wolf --- block_int.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/block_int.h b/block_int.h index 04f4b83..25aff80 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.6.5