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 * char *
qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk, qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
virStorageSourcePtr src G_GNUC_UNUSED,
unsigned int idx) unsigned int idx)
{ {
char *ret = NULL; char *ret = NULL;

View File

@ -973,7 +973,6 @@ virDomainDiskDefPtr qemuDomainDiskLookupByNodename(virDomainDefPtr def,
unsigned int *idx); unsigned int *idx);
char *qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk, char *qemuDomainDiskBackingStoreGetName(virDomainDiskDefPtr disk,
virStorageSourcePtr src,
unsigned int idx); unsigned int idx);
virStorageSourcePtr qemuDomainGetStorageSourceByDevstr(const char *devstr, virStorageSourcePtr qemuDomainGetStorageSourceByDevstr(const char *devstr,

View File

@ -1514,7 +1514,7 @@ qemuProcessHandleBlockThreshold(qemuMonitorPtr mon G_GNUC_UNUSED,
if (virStorageSourceIsLocalStorage(src)) if (virStorageSourceIsLocalStorage(src))
path = src->path; path = src->path;
if ((dev = qemuDomainDiskBackingStoreGetName(disk, src, idx))) if ((dev = qemuDomainDiskBackingStoreGetName(disk, idx)))
event = virDomainEventBlockThresholdNewFromObj(vm, dev, path, event = virDomainEventBlockThresholdNewFromObj(vm, dev, path,
threshold, excess); threshold, excess);
} }