aboutsummaryrefslogtreecommitdiff
path: root/block/vdi.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-11-16 18:55:01 +0100
committerKevin Wolf <kwolf@redhat.com>2010-11-24 17:31:06 +0100
commit80465c5016f23d8b39efb36db2ca77a35f67eaef (patch)
tree95393f97cb3399f0052b0acefba2f8108d65d4f2 /block/vdi.c
parent5cbdebe39e08caf5a373ef1c03a0292d5af955ce (diff)
block: Remove unused s->hd in various drivers
All drivers use bs->file instead of s->hd for quite a while now, so it's time to remove s->hd. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'block/vdi.c')
-rw-r--r--block/vdi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/vdi.c b/block/vdi.c
index 3b51e532c4..ab8f70f17e 100644
--- a/block/vdi.c
+++ b/block/vdi.c
@@ -186,7 +186,6 @@ typedef struct {
} VdiHeader;
typedef struct {
- BlockDriverState *hd;
/* The block map entries are little endian (even in memory). */
uint32_t *bmap;
/* Size of block (bytes). */