aboutsummaryrefslogtreecommitdiff
path: root/block/vmdk.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/vmdk.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/vmdk.c')
-rw-r--r--block/vmdk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/vmdk.c b/block/vmdk.c
index 872aebac9b..8fc9d67208 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -61,7 +61,6 @@ typedef struct {
#define L2_CACHE_SIZE 16
typedef struct BDRVVmdkState {
- BlockDriverState *hd;
int64_t l1_table_offset;
int64_t l1_backup_table_offset;
uint32_t *l1_table;