qcow2: Remove unused struct QCowCreateState
PATCH 1/1 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 <[email protected]>
--- block/qcow2.h | 11 ----------- 1 file changed, 11 deletions(-)
block/qcow2.h +0 -11
@@ -277,17 +277,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 {
Signature · 1 line
1.8.3.1
Quoted 7 lines · Kevin Wolf
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 <[email protected]>--- block/qcow2.h | 11 ----------- 1 file changed, 11 deletions(-)
Reviewed-by Max Reitz <[email protected]>
Quoted 7 lines · Kevin Wolf
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 <[email protected]>--- block/qcow2.h | 11 ----------- 1 file changed, 11 deletions(-)
Reviewed-by Stefan Hajnoczi <[email protected]>