diff options
| author | Fam Zheng | 2014-09-24 10:27:55 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-09-30 13:30:51 +0200 |
| commit | a83cfd12d9868b6732e3c6e5b2cbd69a2e0ab689 (patch) | |
| tree | 9df0c0f8fa533ba608e654dbc0b545d48266d2df /include | |
| parent | scsi: Unify request unref in scsi_req_cancel (diff) | |
| download | qemu-a83cfd12d9868b6732e3c6e5b2cbd69a2e0ab689.tar.gz qemu-a83cfd12d9868b6732e3c6e5b2cbd69a2e0ab689.tar.xz qemu-a83cfd12d9868b6732e3c6e5b2cbd69a2e0ab689.zip | |
scsi: Drop SCSIReqOps.cancel_io
The only two implementations are identical to each other, with nothing specific
to device: they only call bdrv_aio_cancel with the SCSIRequest.aiocb.
Let's move it to scsi-bus.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/scsi/scsi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/scsi/scsi.h b/include/hw/scsi/scsi.h index 169e8dfd44..0290873120 100644 --- a/include/hw/scsi/scsi.h +++ b/include/hw/scsi/scsi.h @@ -130,7 +130,6 @@ struct SCSIReqOps { int32_t (*send_command)(SCSIRequest *req, uint8_t *buf); void (*read_data)(SCSIRequest *req); void (*write_data)(SCSIRequest *req); - void (*cancel_io)(SCSIRequest *req); uint8_t *(*get_buf)(SCSIRequest *req); void (*save_request)(QEMUFile *f, SCSIRequest *req); |
