Skip to contentSkip to conversation

block: remove unused fields in BlockDriverState

PATCH Applied Paolo Bonzini 2 participants 2 messages Feb 20, 2012 – Feb 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove unused fields in BlockDriverState

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).

---
 block_int.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
block_int.h +0 -5
index e84d4fa..66c235e 100644
@@ -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;
 
Signature · 1 line
1.7.7.6
Applied
#1 lore raw

Am 20.02.2012 17:58, schrieb Paolo Bonzini:

Quoted 6 lines

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).

Thanks, applied to the block branch.

Kevin