mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
storagefile: Drop now unused isQCow2 argument
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
253f2cae4a
commit
6017e7b3b8
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user