diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-12 11:09:13 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-23 23:21:15 -0400 |
commit | b937d27052e5759b1308782166fe47bc76e05b4d (patch) | |
tree | eb5a99096bb695d208b5cacd27637c167e9bb8f5 /include/target | |
parent | 485fd0d1e3b8010b538bd0b209f3592acc825677 (diff) |
target: remove the ->transport_split_cdb callback in se_cmd
Add a switch statement implementing the CDB LBA/len update directly
in target_get_task_cdb and remove the old ->transport_split_cdb
callback and all its implementations.
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 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index a6c23485068..16d7a498563 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -470,7 +470,6 @@ struct se_cmd { | |||
470 | struct list_head se_queue_node; | 470 | struct list_head se_queue_node; |
471 | struct target_core_fabric_ops *se_tfo; | 471 | struct target_core_fabric_ops *se_tfo; |
472 | int (*transport_emulate_cdb)(struct se_cmd *); | 472 | int (*transport_emulate_cdb)(struct se_cmd *); |
473 | void (*transport_split_cdb)(unsigned long long, u32, unsigned char *); | ||
474 | void (*transport_complete_callback)(struct se_cmd *); | 473 | void (*transport_complete_callback)(struct se_cmd *); |
475 | int (*transport_qf_callback)(struct se_cmd *); | 474 | int (*transport_qf_callback)(struct se_cmd *); |
476 | 475 | ||