Skip to contentSkip to conversation

qcow2: Remove unused struct QCowCreateState

PATCH In review Kevin Wolf 3 participants 3 messages Feb 17, 2015 Block layer

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

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.

---
 block/qcow2.h | 11 -----------
 1 file changed, 11 deletions(-)
block/qcow2.h +0 -11
index 17c9a3f..a9108f5 100644
@@ -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