Skip to contentSkip to conversation

qcow2: Remove forward declaration of QCowAIOCB

PATCH In review Kevin Wolf 2 participants 2 messages Jul 20, 2015 Block layer

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

PATCH 1/1 qcow2: Remove forward declaration of QCowAIOCB

This struct doesn't exist any more since commit 3fc48d09 in August 2011, it's about time to remove its forward declaration.

---
 block/qcow2.h | 2 --
 1 file changed, 2 deletions(-)
block/qcow2.h +0 -2
index 72e1328..46e1e80 100644
@@ -292,8 +292,6 @@ typedef struct BDRVQcowState {
     char *image_backing_format;
 } BDRVQcowState;
 
-struct QCowAIOCB;
-
 typedef struct Qcow2COWRegion {
     /**
      * Offset of the COW region in bytes from the start of the first cluster
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Kevin Wolf

This struct doesn't exist any more since commit 3fc48d09 in August 2011, it's about time to remove its forward declaration.

---
 block/qcow2.h | 2 --
 1 file changed, 2 deletions(-)
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org