mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
scsi: remove tsk_mgmt_response and it_nexus_response transport methods
They are never called and just dispatch to methods of the same names in the FC and SRP transport classes that are never implemented. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
b6a05c823f
commit
556e26a70b
4 changed files with 0 additions and 52 deletions
|
|
@ -56,18 +56,6 @@ struct scsi_transport_template {
|
|||
* Allows a transport to override the default error handler.
|
||||
*/
|
||||
void (* eh_strategy_handler)(struct Scsi_Host *);
|
||||
|
||||
/*
|
||||
* Used as callback for the completion of i_t_nexus request
|
||||
* for target drivers.
|
||||
*/
|
||||
int (* it_nexus_response)(struct Scsi_Host *, u64, int);
|
||||
|
||||
/*
|
||||
* Used as callback for the completion of task management
|
||||
* request for target drivers.
|
||||
*/
|
||||
int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int);
|
||||
};
|
||||
|
||||
#define transport_class_to_shost(tc) \
|
||||
|
|
|
|||
|
|
@ -88,10 +88,6 @@ struct srp_rport {
|
|||
* @terminate_rport_io: Callback function for terminating all outstanding I/O
|
||||
* requests for an rport.
|
||||
* @rport_delete: Callback function that deletes an rport.
|
||||
*
|
||||
* Fields that are only relevant for SRP target drivers:
|
||||
* @tsk_mgmt_response: Callback function for sending a task management response.
|
||||
* @it_nexus_response: Callback function for processing an IT nexus response.
|
||||
*/
|
||||
struct srp_function_template {
|
||||
/* for initiator drivers */
|
||||
|
|
@ -103,9 +99,6 @@ struct srp_function_template {
|
|||
int (*reconnect)(struct srp_rport *rport);
|
||||
void (*terminate_rport_io)(struct srp_rport *rport);
|
||||
void (*rport_delete)(struct srp_rport *rport);
|
||||
/* for target drivers */
|
||||
int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int);
|
||||
int (* it_nexus_response)(struct Scsi_Host *, u64, int);
|
||||
};
|
||||
|
||||
extern struct scsi_transport_template *
|
||||
|
|
|
|||
Loading…
Reference in a new issue