diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-25 21:42:36 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:48 -0500 |
commit | 01985dcf38a94d0db35f54315ba2454e68f16175 (patch) | |
tree | 83a90b7164f8a7b6a60a3dfe45845970416795a9 /hw/scsi-generic.c | |
parent | d29275f10382844e000ddaafaddc6780555e8d83 (diff) |
Implement scsi device destruction
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi-generic.c')
-rw-r--r-- | hw/scsi-generic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/scsi-generic.c b/hw/scsi-generic.c index f8c010b639..86d1e54a5f 100644 --- a/hw/scsi-generic.c +++ b/hw/scsi-generic.c @@ -668,8 +668,6 @@ static void scsi_destroy(SCSIDevice *d) qemu_free(r); r = n; } - - qemu_free(d); } static int scsi_generic_initfn(SCSIDevice *dev) |