From: Cole Robinson Date: Fri, 4 Oct 2019 22:13:21 +0000 (-0400) Subject: storagefile: Drop now unused isQCow2 argument X-Git-Tag: v5.9.0-rc1~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6017e7b3b875a747c2e49356e2fa8096b59dd180;p=thirdparty%2Flibvirt.git storagefile: Drop now unused isQCow2 argument Reviewed-by: Daniel Henrique Barboza Reviewed-by: Michal Privoznik Signed-off-by: Cole Robinson --- diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index 9bf4c1178b..14551af4d2 100644 --- a/src/util/virstoragefile.c +++ b/src/util/virstoragefile.c @@ -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); }