]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
storagefile: Drop now unused isQCow2 argument
authorCole Robinson <crobinso@redhat.com>
Fri, 4 Oct 2019 22:13:21 +0000 (18:13 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 11 Oct 2019 17:41:21 +0000 (13:41 -0400)
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/util/virstoragefile.c

index 9bf4c1178b83d05d798d43121dec912915b16d7c..14551af4d26079cf5d335ea292a39d7e22a33adf 100644 (file)
@@ -485,8 +485,7 @@ static int
 qcowXGetBackingStore(char **res,
                      int *format,
                      const char *buf,
-                     size_t buf_size,
-                     bool isQCow2 ATTRIBUTE_UNUSED)
+                     size_t buf_size)
 {
     unsigned long long offset;
     unsigned int size;
@@ -572,7 +571,7 @@ qcow1GetBackingStore(char **res,
                      const char *buf,
                      size_t buf_size)
 {
-    return qcowXGetBackingStore(res, format, buf, buf_size, false);
+    return qcowXGetBackingStore(res, format, buf, buf_size);
 }
 
 static int
@@ -581,7 +580,7 @@ qcow2GetBackingStore(char **res,
                      const char *buf,
                      size_t buf_size)
 {
-    return qcowXGetBackingStore(res, format, buf, buf_size, true);
+    return qcowXGetBackingStore(res, format, buf, buf_size);
 }