mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
qemu: Remove 'removable' field from 'qemuDomainDiskPrivate'
The field is only set, but never read. Drop it. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
1 parent
861be1078e
commit
074f7fba94
2 files changed
-3
No files matched your search
@@ -288,9 +288,7 @@ struct _qemuDomainDiskPrivate {
|
||||
virStorageSource *migrSource; /* disk source object used for NBD migration */
|
||||
bool migrationslice; /* storage slice was added for migration purposes */
|
||||
|
||||
/* information about the device */
|
||||
bool tray; /* device has tray */
|
||||
bool removable; /* device media can be removed/changed */
|
||||
|
||||
char *qomName; /* QOM path of the disk (also refers to the block backend) */
|
||||
char *nodeCopyOnRead; /* nodename of the disk-wide copy-on-read blockdev layer */
|
||||
|
||||
@@ -9555,7 +9555,6 @@ qemuProcessRefreshDiskProps(virDomainDiskDef *disk,
|
||||
}
|
||||
}
|
||||
|
||||
diskpriv->removable = info->removable;
|
||||
diskpriv->tray = info->tray;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user