mirror of https://github.com/xemu-project/xemu.git
xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug()
drive_del() closes just fine. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
cedccf1381
commit
7ca9b7c035
|
@ -182,7 +182,6 @@ int pci_piix3_xen_ide_unplug(DeviceState *dev)
|
|||
if (ds) {
|
||||
bdrv_detach_dev(di->bdrv, ds);
|
||||
}
|
||||
bdrv_close(di->bdrv);
|
||||
pci_ide->bus[di->bus].ifs[di->unit].bs = NULL;
|
||||
drive_del(di);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue