aboutsummaryrefslogtreecommitdiff
path: root/block/qcow.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/qcow.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/qcow.c')
-rw-r--r--block/qcow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/qcow.c b/block/qcow.c
index 9cd547dc02..f67d3d39f2 100644
--- a/block/qcow.c
+++ b/block/qcow.c
@@ -54,7 +54,6 @@ typedef struct QCowHeader {
#define L2_CACHE_SIZE 16
typedef struct BDRVQcowState {
- BlockDriverState *hd;
int cluster_bits;
int cluster_size;
int cluster_sectors;