aboutsummaryrefslogtreecommitdiffstats
path: root/include/target/target_core_backend.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-04-23 11:35:29 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-05-06 15:02:59 -0700
commited3102c678c6274933948f9097bb4e2b314e5f82 (patch)
treea1dabb18032a61539905fe932bc1949cb6e8dd80 /include/target/target_core_backend.h
parenttarget: remove the unused transport_limit_task_sectors helper (diff)
downloadlinux-dev-ed3102c678c6274933948f9097bb4e2b314e5f82.tar.xz
linux-dev-ed3102c678c6274933948f9097bb4e2b314e5f82.zip
target: remove target_get_task_cdb
Now that tasks are always the same size as the command there is no need to rewrite a CDB in common code. Notw that we keep the separately allocated CDB in the pscsi and stgt backends for now, to easy reintroducing any command splitting local to these backends if nessecary. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target/target_core_backend.h')
-rw-r--r--include/target/target_core_backend.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/target/target_core_backend.h b/include/target/target_core_backend.h
index 8c9ff1b14396..55da17b48d9d 100644
--- a/include/target/target_core_backend.h
+++ b/include/target/target_core_backend.h
@@ -51,8 +51,6 @@ struct se_device *transport_add_device_to_core_hba(struct se_hba *,
void transport_complete_sync_cache(struct se_cmd *, int);
void transport_complete_task(struct se_task *, int);
-void target_get_task_cdb(struct se_task *, unsigned char *);
-
void transport_set_vpd_proto_id(struct t10_vpd *, unsigned char *);
int transport_set_vpd_assoc(struct t10_vpd *, unsigned char *);
int transport_set_vpd_ident_type(struct t10_vpd *, unsigned char *);