summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-09-17 15:09:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-10-31 11:29:02 +0100
commitfb7b5c0df6e3c501973ce4d57eb2b1d4344a519d (patch)
treebcd55949d2026f01e311d562065183094eff242a /include
parent93bd49aff9081bbe9440192db9da3676941f77a3 (diff)
scsi: devirtualize unrealize of SCSI devices
All implementations are the same. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/scsi/scsi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/scsi/scsi.h b/include/hw/scsi/scsi.h
index f4aabfd0e7..cdaf0f8eb7 100644
--- a/include/hw/scsi/scsi.h
+++ b/include/hw/scsi/scsi.h
@@ -84,7 +84,6 @@ struct SCSIRequest {
typedef struct SCSIDeviceClass {
DeviceClass parent_class;
void (*realize)(SCSIDevice *dev, Error **errp);
- void (*unrealize)(SCSIDevice *dev, Error **errp);
int (*parse_cdb)(SCSIDevice *dev, SCSICommand *cmd, uint8_t *buf,
void *hba_private);
SCSIRequest *(*alloc_req)(SCSIDevice *s, uint32_t tag, uint32_t lun,