aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-19 11:58:10 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-19 11:58:10 +0000
commita9f277ba8f9490fc01b9d518ed6932c816fa4604 (patch)
tree188dae51caaf008000af4b1f0cb51508a3ec6995 /hw/scsi-disk.c
parent19cb37389f4641d48803f0c5d72708749cbcf318 (diff)
no need for bdrv_close()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2125 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/scsi-disk.c')
-rw-r--r--hw/scsi-disk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index 55a26239d8..213e8d2930 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@ -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);
}