summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2012-02-28 00:22:12 -0800
committerNicholas Bellinger <nab@linux-iscsi.org>2012-03-10 14:42:55 -0800
commitc7ec05c82bfd6acf1fd800d628591500805f3179 (patch)
treec64d5d330120d038f5ee9fe90b7a7eba0a0b3459 /include
parent99367f01b8df2018ff3328ddf4111e701d34188d (diff)
downloadop-kernel-dev-c7ec05c82bfd6acf1fd800d628591500805f3179.zip
op-kernel-dev-c7ec05c82bfd6acf1fd800d628591500805f3179.tar.gz
target: Drop unused legacy target_core_fabric_ops API callers
This patch drops the following unused legacy API callers from target_core_fabric.h: *) TFO->fall_back_to_erl0() *) TFO->stop_session() *) TFO->sess_logged_in() *) TFO->is_state_remove() This patch also removes the stub usage in loopback, tcm_fc, iscsi_target, and ib_srpt fabric modules. Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
-rw-r--r--include/target/target_core_fabric.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h
index 032c487..10c6908 100644
--- a/include/target/target_core_fabric.h
+++ b/include/target/target_core_fabric.h
@@ -58,9 +58,6 @@ struct target_core_fabric_ops {
*/
int (*shutdown_session)(struct se_session *);
void (*close_session)(struct se_session *);
- void (*stop_session)(struct se_session *, int, int);
- void (*fall_back_to_erl0)(struct se_session *);
- int (*sess_logged_in)(struct se_session *);
u32 (*sess_get_index)(struct se_session *);
/*
* Used only for SCSI fabrics that contain multi-value TransportIDs
@@ -78,7 +75,6 @@ struct target_core_fabric_ops {
int (*queue_tm_rsp)(struct se_cmd *);
u16 (*set_fabric_sense_len)(struct se_cmd *, u32);
u16 (*get_fabric_sense_len)(void);
- int (*is_state_remove)(struct se_cmd *);
/*
* fabric module calls for target_core_fabric_configfs.c
*/
OpenPOWER on IntegriCloud