From: Markus Armbruster Date: Mon, 8 Sep 2014 16:51:00 +0000 (+0200) Subject: xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug() X-Git-Tag: v2.2.0-rc0~116^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ca9b7c03574291ec845f9d39fee0b1d26f9ce38;p=thirdparty%2Fqemu.git xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug() drive_del() closes just fine. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 59319eb6c11..49e78a738af 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -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); }