Commit a9f277ba8f9490fc01b9d518ed6932c816fa4604

Authored by bellard
1 parent 19cb3738

no need for bdrv_close()


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2125 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 1 deletions
hw/scsi-disk.c
@@ -545,7 +545,6 @@ int32_t scsi_send_command(SCSIDevice *s, uint32_t tag, uint8_t *buf, int lun) @@ -545,7 +545,6 @@ int32_t scsi_send_command(SCSIDevice *s, uint32_t tag, uint8_t *buf, int lun)
545 545
546 void scsi_disk_destroy(SCSIDevice *s) 546 void scsi_disk_destroy(SCSIDevice *s)
547 { 547 {
548 - bdrv_close(s->bdrv);  
549 qemu_free(s); 548 qemu_free(s);
550 } 549 }
551 550