qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 08/69] qcow2: Remove unused struct QCowCreateState


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PULL 08/69] qcow2: Remove unused struct QCowCreateState
Date: Fri, 27 Feb 2015 18:18:06 +0000

From: Kevin Wolf <address@hidden>

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 <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
---
 block/qcow2.h | 11 -----------
 1 file changed, 11 deletions(-)

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 {
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]