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>
This commit is contained in:

committed by
Christoph Hellwig

parent
f6667938cf
commit
0664652513
@@ -131,27 +131,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
|
||||
|
Reference in New Issue
Block a user