summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2011-07-18 22:26:40 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2011-07-22 09:37:49 +0000
commit11650b859681e03fdbf26277fcfc5f1f62186703 (patch)
tree1073305aa356589d05cf59c70dae748c4c0e8b75 /include/target
parent163cd5fa9fcb7ccc73a9e39d5f601cfd41a23bfa (diff)
downloadkernel-common-11650b859681e03fdbf26277fcfc5f1f62186703.tar.gz
kernel-common-11650b859681e03fdbf26277fcfc5f1f62186703.tar.bz2
kernel-common-11650b859681e03fdbf26277fcfc5f1f62186703.zip
target: remove custom hex2bin() implementation
This patch drops transport_asciihex_to_binaryhex() in favor of proper hex2bin usage from include/linux/kernel.h:hex2bin() Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_transport.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_transport.h b/include/target/target_core_transport.h
index f41b07c7401e..46aae4f94ede 100644
--- a/include/target/target_core_transport.h
+++ b/include/target/target_core_transport.h
@@ -179,7 +179,6 @@ extern void transport_new_cmd_failure(struct se_cmd *);
extern int transport_generic_handle_tmr(struct se_cmd *);
extern void transport_generic_free_cmd_intr(struct se_cmd *);
extern void __transport_stop_task_timer(struct se_task *, unsigned long *);
-extern unsigned char transport_asciihex_to_binaryhex(unsigned char val[2]);
extern int transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *, u32,
struct scatterlist *, u32);
extern int transport_clear_lun_from_sessions(struct se_lun *);