summaryrefslogtreecommitdiff
path: root/block/vpc.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/vpc.c
parent5cbdebe39e08caf5a373ef1c03a0292d5af955ce (diff)
downloadqemu-80465c5016f23d8b39efb36db2ca77a35f67eaef.tar.gz
qemu-80465c5016f23d8b39efb36db2ca77a35f67eaef.tar.bz2
qemu-80465c5016f23d8b39efb36db2ca77a35f67eaef.zip
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/vpc.c')
-rw-r--r--block/vpc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/vpc.c b/block/vpc.c
index 416f48900c..21e2a6870c 100644
--- a/block/vpc.c
+++ b/block/vpc.c
@@ -110,8 +110,6 @@ struct vhd_dyndisk_header {
};
typedef struct BDRVVPCState {
- BlockDriverState *hd;
-
uint8_t footer_buf[HEADER_SIZE];
uint64_t free_data_block_offset;
int max_table_entries;