diff options
author | Christoph Hellwig <hch@lst.de> | 2017-01-30 13:18:59 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-06 19:10:41 -0500 |
commit | 556e26a70b64a21507e231f9b54773adf74a7384 (patch) | |
tree | 9454beb50e112d3d38a2a9c09e0d8f7de8685cd2 /include/scsi/scsi_transport_srp.h | |
parent | b6a05c823fc573a65efc4466f174abf05f922e0f (diff) | |
download | talos-op-linux-556e26a70b64a21507e231f9b54773adf74a7384.tar.gz talos-op-linux-556e26a70b64a21507e231f9b54773adf74a7384.zip |
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 <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_transport_srp.h')
-rw-r--r-- | include/scsi/scsi_transport_srp.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/scsi/scsi_transport_srp.h b/include/scsi/scsi_transport_srp.h index 20d96797edc5..dd096330734e 100644 --- a/include/scsi/scsi_transport_srp.h +++ b/include/scsi/scsi_transport_srp.h @@ -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 * |