mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
qemuDomainDiskBackingStoreGetName: Remove unused argument
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
794d7d97d8
commit
4a19b7b832
@ -11631,7 +11631,6 @@ qemuDomainDiskLookupByNodename(virDomainDefPtr def,
|
||||
*/
|
||||
char *
|
||||
qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
|
||||
virStorageSourcePtr src G_GNUC_UNUSED,
|
||||
unsigned int idx)
|
||||
{
|
||||
char *ret = NULL;
|
||||
|
@ -973,7 +973,6 @@ virDomainDiskDefPtr qemuDomainDiskLookupByNodename(virDomainDefPtr def,
|
||||
unsigned int *idx);
|
||||
|
||||
char *qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
|
||||
virStorageSourcePtr src,
|
||||
unsigned int idx);
|
||||
|
||||
virStorageSourcePtr qemuDomainGetStorageSourceByDevstr(const char *devstr,
|
||||
|
@ -1514,7 +1514,7 @@ qemuProcessHandleBlockThreshold(qemuMonitorPtr mon G_GNUC_UNUSED,
|
||||
if (virStorageSourceIsLocalStorage(src))
|
||||
path = src->path;
|
||||
|
||||
if ((dev = qemuDomainDiskBackingStoreGetName(disk, src, idx)))
|
||||
if ((dev = qemuDomainDiskBackingStoreGetName(disk, idx)))
|
||||
event = virDomainEventBlockThresholdNewFromObj(vm, dev, path,
|
||||
threshold, excess);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user