diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-12 17:09:13 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 05:21:15 +0200 |
commit | b937d27052e5759b1308782166fe47bc76e05b4d (patch) | |
tree | eb5a99096bb695d208b5cacd27637c167e9bb8f5 /include/target | |
parent | target: replace ->get_cdb with a target_get_task_cdb helper (diff) | |
download | linux-b937d27052e5759b1308782166fe47bc76e05b4d.tar.xz linux-b937d27052e5759b1308782166fe47bc76e05b4d.zip |
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 a6c23485068e..16d7a4985639 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -470,7 +470,6 @@ struct se_cmd { struct list_head se_queue_node; struct target_core_fabric_ops *se_tfo; int (*transport_emulate_cdb)(struct se_cmd *); - void (*transport_split_cdb)(unsigned long long, u32, unsigned char *); void (*transport_complete_callback)(struct se_cmd *); int (*transport_qf_callback)(struct se_cmd *); |