]> git.proxmox.com Git - qemu.git/commitdiff
no need for bdrv_close()
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Aug 2006 11:58:10 +0000 (11:58 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Aug 2006 11:58:10 +0000 (11:58 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2125 c046a42c-6fe2-441c-8c8c-71466251a162

hw/scsi-disk.c

index 55a26239d8594eb88c4d9c34e9a1c550caedaad1..213e8d2930c847f884a86c0c1e6f3f2d3949bd39 100644 (file)
@@ -545,7 +545,6 @@ int32_t scsi_send_command(SCSIDevice *s, uint32_t tag, uint8_t *buf, int lun)
 
 void scsi_disk_destroy(SCSIDevice *s)
 {
-    bdrv_close(s->bdrv);
     qemu_free(s);
 }