diff options
author | Roland Dreier <roland@purestorage.com> | 2012-08-15 17:35:24 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-09-17 19:15:47 -0400 |
commit | 2ed772b7b9df0f459308b3cbececc0136076d09e (patch) | |
tree | 4f97f1cbdb889b921d48799c085e5142e5aa001b /drivers/infiniband | |
parent | 343d475d6176fa081918fcbf3fcb0b0143e28661 (diff) |
target: Remove unused target_core_fabric_ops.get_fabric_sense_len method
There are no callers of se_tfo->get_fabric_sense_len(), so we should
stop having every fabric driver implement it.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index 9e1449f8c6a2..9e949750be3a 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c | |||
@@ -3569,11 +3569,6 @@ static u16 srpt_set_fabric_sense_len(struct se_cmd *cmd, u32 sense_length) | |||
3569 | return 0; | 3569 | return 0; |
3570 | } | 3570 | } |
3571 | 3571 | ||
3572 | static u16 srpt_get_fabric_sense_len(void) | ||
3573 | { | ||
3574 | return 0; | ||
3575 | } | ||
3576 | |||
3577 | /** | 3572 | /** |
3578 | * srpt_parse_i_port_id() - Parse an initiator port ID. | 3573 | * srpt_parse_i_port_id() - Parse an initiator port ID. |
3579 | * @name: ASCII representation of a 128-bit initiator port ID. | 3574 | * @name: ASCII representation of a 128-bit initiator port ID. |
@@ -3953,7 +3948,6 @@ static struct target_core_fabric_ops srpt_template = { | |||
3953 | .queue_data_in = srpt_queue_response, | 3948 | .queue_data_in = srpt_queue_response, |
3954 | .queue_status = srpt_queue_status, | 3949 | .queue_status = srpt_queue_status, |
3955 | .queue_tm_rsp = srpt_queue_response, | 3950 | .queue_tm_rsp = srpt_queue_response, |
3956 | .get_fabric_sense_len = srpt_get_fabric_sense_len, | ||
3957 | .set_fabric_sense_len = srpt_set_fabric_sense_len, | 3951 | .set_fabric_sense_len = srpt_set_fabric_sense_len, |
3958 | /* | 3952 | /* |
3959 | * Setup function pointers for generic logic in | 3953 | * Setup function pointers for generic logic in |