Skip to content

Commit

Permalink
block: remove unused fields in BlockDriverState
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
  • Loading branch information
bonzini authored and kevmw committed Feb 29, 2012
1 parent 423477e commit 56116a1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions block_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 56116a1

Please sign in to comment.