diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-02-28 03:22:12 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-03-10 17:42:55 -0500 |
commit | c7ec05c82bfd6acf1fd800d628591500805f3179 (patch) | |
tree | c64d5d330120d038f5ee9fe90b7a7eba0a0b3459 /include/target | |
parent | 99367f01b8df2018ff3328ddf4111e701d34188d (diff) |
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/target')
-rw-r--r-- | include/target/target_core_fabric.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index 032c48753cfa..10c690809601 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h | |||
@@ -58,9 +58,6 @@ struct target_core_fabric_ops { | |||
58 | */ | 58 | */ |
59 | int (*shutdown_session)(struct se_session *); | 59 | int (*shutdown_session)(struct se_session *); |
60 | void (*close_session)(struct se_session *); | 60 | void (*close_session)(struct se_session *); |
61 | void (*stop_session)(struct se_session *, int, int); | ||
62 | void (*fall_back_to_erl0)(struct se_session *); | ||
63 | int (*sess_logged_in)(struct se_session *); | ||
64 | u32 (*sess_get_index)(struct se_session *); | 61 | u32 (*sess_get_index)(struct se_session *); |
65 | /* | 62 | /* |
66 | * Used only for SCSI fabrics that contain multi-value TransportIDs | 63 | * Used only for SCSI fabrics that contain multi-value TransportIDs |
@@ -78,7 +75,6 @@ struct target_core_fabric_ops { | |||
78 | int (*queue_tm_rsp)(struct se_cmd *); | 75 | int (*queue_tm_rsp)(struct se_cmd *); |
79 | u16 (*set_fabric_sense_len)(struct se_cmd *, u32); | 76 | u16 (*set_fabric_sense_len)(struct se_cmd *, u32); |
80 | u16 (*get_fabric_sense_len)(void); | 77 | u16 (*get_fabric_sense_len)(void); |
81 | int (*is_state_remove)(struct se_cmd *); | ||
82 | /* | 78 | /* |
83 | * fabric module calls for target_core_fabric_configfs.c | 79 | * fabric module calls for target_core_fabric_configfs.c |
84 | */ | 80 | */ |