提交 6017e7b3 编写于 作者: C Cole Robinson

storagefile: Drop now unused isQCow2 argument

Reviewed-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 253f2cae
...@@ -485,8 +485,7 @@ static int ...@@ -485,8 +485,7 @@ static int
qcowXGetBackingStore(char **res, qcowXGetBackingStore(char **res,
int *format, int *format,
const char *buf, const char *buf,
size_t buf_size, size_t buf_size)
bool isQCow2 ATTRIBUTE_UNUSED)
{ {
unsigned long long offset; unsigned long long offset;
unsigned int size; unsigned int size;
...@@ -572,7 +571,7 @@ qcow1GetBackingStore(char **res, ...@@ -572,7 +571,7 @@ qcow1GetBackingStore(char **res,
const char *buf, const char *buf,
size_t buf_size) size_t buf_size)
{ {
return qcowXGetBackingStore(res, format, buf, buf_size, false); return qcowXGetBackingStore(res, format, buf, buf_size);
} }
static int static int
...@@ -581,7 +580,7 @@ qcow2GetBackingStore(char **res, ...@@ -581,7 +580,7 @@ qcow2GetBackingStore(char **res,
const char *buf, const char *buf,
size_t buf_size) size_t buf_size)
{ {
return qcowXGetBackingStore(res, format, buf, buf_size, true); return qcowXGetBackingStore(res, format, buf, buf_size);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册