From: Kevin Wolf Date: Tue, 17 Feb 2015 13:47:54 +0000 (+0100) Subject: qcow2: Remove unused struct QCowCreateState X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~317^2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20a1f9d07125bead22efd1dc208b4d14ae1b2a21;p=sdk%2Femulator%2Fqemu.git qcow2: Remove unused struct QCowCreateState The only user went away five years ago with commit a9420734 ('qcow2: Simplify image creation'). It's about time to remove it. Signed-off-by: Kevin Wolf Reviewed-by: Max Reitz Reviewed-by: Stefan Hajnoczi --- diff --git a/block/qcow2.h b/block/qcow2.h index 6e39a1b..0fee29b 100644 --- a/block/qcow2.h +++ b/block/qcow2.h @@ -275,17 +275,6 @@ typedef struct BDRVQcowState { bool cache_discards; } BDRVQcowState; -/* XXX: use std qcow open function ? */ -typedef struct QCowCreateState { - int cluster_size; - int cluster_bits; - uint16_t *refcount_block; - uint64_t *refcount_table; - int64_t l1_table_offset; - int64_t refcount_table_offset; - int64_t refcount_block_offset; -} QCowCreateState; - struct QCowAIOCB; typedef struct Qcow2COWRegion {