diff options
author | Bart Van Assche <bvanassche@acm.org> | 2014-04-15 12:26:52 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-17 22:07:44 +0200 |
commit | 066465251303c2a4ba489596f1ecda279711273d (patch) | |
tree | d5f594aca4ba09f4dcd24d3ccb37a1fad5917583 /include/scsi/scsi_host.h | |
parent | f6667938cfceefd8afe6355ceb6497dce4883ae9 (diff) | |
download | talos-op-linux-066465251303c2a4ba489596f1ecda279711273d.tar.gz talos-op-linux-066465251303c2a4ba489596f1ecda279711273d.zip |
tgt: removal
Now that the ibmvstgt driver as the only user of scsi_tgt is gone, the
scsi_tgt kernel module, the CONFIG_SCSI_TGT, CONFIG_SCSI_SRP_TGT_ATTRS and
CONFIG_SCSI_FC_TGT_ATTRS kbuild variable, the scsi_host_template
transfer_response method are no longer needed.
[hch: minor updates to the current tree, changelog update]
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r-- | include/scsi/scsi_host.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index abb695882fed..f7adfe0a6dc8 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -132,27 +132,6 @@ struct scsi_host_template { int (* queuecommand)(struct Scsi_Host *, struct scsi_cmnd *); /* - * The transfer functions are used to queue a scsi command to - * the LLD. When the driver is finished processing the command - * the done callback is invoked. - * - * This is called to inform the LLD to transfer - * scsi_bufflen(cmd) bytes. scsi_sg_count(cmd) speciefies the - * number of scatterlist entried in the command and - * scsi_sglist(cmd) returns the scatterlist. - * - * return values: see queuecommand - * - * If the LLD accepts the cmd, it should set the result to an - * appropriate value when completed before calling the done function. - * - * STATUS: REQUIRED FOR TARGET DRIVERS - */ - /* TODO: rename */ - int (* transfer_response)(struct scsi_cmnd *, - void (*done)(struct scsi_cmnd *)); - - /* * This is an error handling strategy routine. You don't need to * define one of these if you don't want to - there is a default * routine that is present that should work in most cases. For those |