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/target/loopback | |
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/target/loopback')
-rw-r--r-- | drivers/target/loopback/tcm_loop.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index 5491c632a15e..4ab1d0b43a85 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -851,11 +851,6 @@ static u16 tcm_loop_set_fabric_sense_len(struct se_cmd *se_cmd, u32 sense_length | |||
851 | return 0; | 851 | return 0; |
852 | } | 852 | } |
853 | 853 | ||
854 | static u16 tcm_loop_get_fabric_sense_len(void) | ||
855 | { | ||
856 | return 0; | ||
857 | } | ||
858 | |||
859 | static char *tcm_loop_dump_proto_id(struct tcm_loop_hba *tl_hba) | 854 | static char *tcm_loop_dump_proto_id(struct tcm_loop_hba *tl_hba) |
860 | { | 855 | { |
861 | switch (tl_hba->tl_proto_id) { | 856 | switch (tl_hba->tl_proto_id) { |
@@ -1374,7 +1369,6 @@ static int tcm_loop_register_configfs(void) | |||
1374 | fabric->tf_ops.queue_status = &tcm_loop_queue_status; | 1369 | fabric->tf_ops.queue_status = &tcm_loop_queue_status; |
1375 | fabric->tf_ops.queue_tm_rsp = &tcm_loop_queue_tm_rsp; | 1370 | fabric->tf_ops.queue_tm_rsp = &tcm_loop_queue_tm_rsp; |
1376 | fabric->tf_ops.set_fabric_sense_len = &tcm_loop_set_fabric_sense_len; | 1371 | fabric->tf_ops.set_fabric_sense_len = &tcm_loop_set_fabric_sense_len; |
1377 | fabric->tf_ops.get_fabric_sense_len = &tcm_loop_get_fabric_sense_len; | ||
1378 | 1372 | ||
1379 | /* | 1373 | /* |
1380 | * Setup function pointers for generic logic in target_core_fabric_configfs.c | 1374 | * Setup function pointers for generic logic in target_core_fabric_configfs.c |