qemuDomainDiskBackingStoreGetName: Remove unused argument

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Krempa 2020-07-15 12:19:35 +02:00
parent 794d7d97d8
commit 4a19b7b832
3 changed files with 1 additions and 3 deletions

View File

@ -11631,7 +11631,6 @@ qemuDomainDiskLookupByNodename(virDomainDefPtr def,
*/
char *
qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
virStorageSourcePtr src G_GNUC_UNUSED,
unsigned int idx)
{
char *ret = NULL;

View File

@ -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,

View File

@ -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);
}