diff options
| author | Christoph Hellwig <hch@lst.de> | 2015-05-01 11:47:57 -0400 |
|---|---|---|
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-31 01:42:30 -0400 |
| commit | 2aeeafae6bb9f04dbe17b521bcd8f0d03516c393 (patch) | |
| tree | e4efb82f007a4afe684702c5983195e2403250e2 /include/target | |
| parent | e4aae5af810eaa61c2cd7ba79d95ebfe0d88fe9b (diff) | |
target: remove the get_fabric_proto_ident method
Now that we store the protocol identifier in the tpg structure we don't
need this method.
Signed-off-by: Christoph Hellwig <hch@lst.de>
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 e0adc141de07..495606382546 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h | |||
| @@ -6,7 +6,6 @@ struct target_core_fabric_ops { | |||
| 6 | const char *name; | 6 | const char *name; |
| 7 | size_t node_acl_size; | 7 | size_t node_acl_size; |
| 8 | char *(*get_fabric_name)(void); | 8 | char *(*get_fabric_name)(void); |
| 9 | u8 (*get_fabric_proto_ident)(struct se_portal_group *); | ||
| 10 | char *(*tpg_get_wwn)(struct se_portal_group *); | 9 | char *(*tpg_get_wwn)(struct se_portal_group *); |
| 11 | u16 (*tpg_get_tag)(struct se_portal_group *); | 10 | u16 (*tpg_get_tag)(struct se_portal_group *); |
| 12 | u32 (*tpg_get_default_depth)(struct se_portal_group *); | 11 | u32 (*tpg_get_default_depth)(struct se_portal_group *); |
| @@ -179,7 +178,6 @@ int core_tpg_register(const struct target_core_fabric_ops *, | |||
| 179 | int core_tpg_deregister(struct se_portal_group *); | 178 | int core_tpg_deregister(struct se_portal_group *); |
| 180 | 179 | ||
| 181 | /* SAS helpers */ | 180 | /* SAS helpers */ |
| 182 | u8 sas_get_fabric_proto_ident(struct se_portal_group *); | ||
| 183 | u32 sas_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, | 181 | u32 sas_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, |
| 184 | struct t10_pr_registration *, int *, unsigned char *); | 182 | struct t10_pr_registration *, int *, unsigned char *); |
| 185 | u32 sas_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, | 183 | u32 sas_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, |
| @@ -188,7 +186,6 @@ char *sas_parse_pr_out_transport_id(struct se_portal_group *, const char *, | |||
| 188 | u32 *, char **); | 186 | u32 *, char **); |
| 189 | 187 | ||
| 190 | /* FC helpers */ | 188 | /* FC helpers */ |
| 191 | u8 fc_get_fabric_proto_ident(struct se_portal_group *); | ||
| 192 | u32 fc_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, | 189 | u32 fc_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, |
| 193 | struct t10_pr_registration *, int *, unsigned char *); | 190 | struct t10_pr_registration *, int *, unsigned char *); |
| 194 | u32 fc_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, | 191 | u32 fc_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, |
| @@ -197,7 +194,6 @@ char *fc_parse_pr_out_transport_id(struct se_portal_group *, const char *, | |||
| 197 | u32 *, char **); | 194 | u32 *, char **); |
| 198 | 195 | ||
| 199 | /* iSCSI helpers */ | 196 | /* iSCSI helpers */ |
| 200 | u8 iscsi_get_fabric_proto_ident(struct se_portal_group *); | ||
| 201 | u32 iscsi_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, | 197 | u32 iscsi_get_pr_transport_id(struct se_portal_group *, struct se_node_acl *, |
| 202 | struct t10_pr_registration *, int *, unsigned char *); | 198 | struct t10_pr_registration *, int *, unsigned char *); |
| 203 | u32 iscsi_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, | 199 | u32 iscsi_get_pr_transport_id_len(struct se_portal_group *, struct se_node_acl *, |
