diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-07-08 15:58:48 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-07-16 20:35:21 -0400 |
commit | f314643751450a582c1ca40a54558240ef7cd4bf (patch) | |
tree | 482343a17d77d36a872abff047bac5406728fae0 /include/target | |
parent | 7a6f0a1ea5f5ac9b67211071d558c5b09580695d (diff) |
target: remove transport_generic_handle_cdb_map
Remove this command submission path which is not used by any in-tree driver.
This also removes the now unused new_cmd_map fabtric method, which a few
drivers implemented despite never calling transport_generic_handle_cdb_map.
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_base.h | 1 | ||||
-rw-r--r-- | include/target/target_core_fabric.h | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 72a41dda9496..11052b24ee41 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -149,7 +149,6 @@ enum transport_state_table { | |||
149 | TRANSPORT_COMPLETE = 6, | 149 | TRANSPORT_COMPLETE = 6, |
150 | TRANSPORT_PROCESS_TMR = 9, | 150 | TRANSPORT_PROCESS_TMR = 9, |
151 | TRANSPORT_ISTATE_PROCESSING = 11, | 151 | TRANSPORT_ISTATE_PROCESSING = 11, |
152 | TRANSPORT_NEW_CMD_MAP = 16, | ||
153 | TRANSPORT_COMPLETE_QF_WP = 18, | 152 | TRANSPORT_COMPLETE_QF_WP = 18, |
154 | TRANSPORT_COMPLETE_QF_OK = 19, | 153 | TRANSPORT_COMPLETE_QF_OK = 19, |
155 | }; | 154 | }; |
diff --git a/include/target/target_core_fabric.h b/include/target/target_core_fabric.h index 69321bc87c43..c3ad1eca6ff4 100644 --- a/include/target/target_core_fabric.h +++ b/include/target/target_core_fabric.h | |||
@@ -33,12 +33,6 @@ struct target_core_fabric_ops { | |||
33 | struct se_node_acl *); | 33 | struct se_node_acl *); |
34 | u32 (*tpg_get_inst_index)(struct se_portal_group *); | 34 | u32 (*tpg_get_inst_index)(struct se_portal_group *); |
35 | /* | 35 | /* |
36 | * Optional function pointer for TCM to perform command map | ||
37 | * from TCM processing thread context, for those struct se_cmd | ||
38 | * initially allocated in interrupt context. | ||
39 | */ | ||
40 | int (*new_cmd_map)(struct se_cmd *); | ||
41 | /* | ||
42 | * Optional to release struct se_cmd and fabric dependent allocated | 36 | * Optional to release struct se_cmd and fabric dependent allocated |
43 | * I/O descriptor in transport_cmd_check_stop(). | 37 | * I/O descriptor in transport_cmd_check_stop(). |
44 | * | 38 | * |
@@ -115,7 +109,6 @@ int target_submit_tmr(struct se_cmd *se_cmd, struct se_session *se_sess, | |||
115 | void *fabric_tmr_ptr, unsigned char tm_type, | 109 | void *fabric_tmr_ptr, unsigned char tm_type, |
116 | gfp_t, unsigned int, int); | 110 | gfp_t, unsigned int, int); |
117 | int transport_handle_cdb_direct(struct se_cmd *); | 111 | int transport_handle_cdb_direct(struct se_cmd *); |
118 | int transport_generic_handle_cdb_map(struct se_cmd *); | ||
119 | int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, | 112 | int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, |
120 | struct scatterlist *, u32, struct scatterlist *, u32); | 113 | struct scatterlist *, u32, struct scatterlist *, u32); |
121 | int transport_generic_new_cmd(struct se_cmd *); | 114 | int transport_generic_new_cmd(struct se_cmd *); |