summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_xcopy.c
diff options
context:
space:
mode:
authorRashika Kheria2013-12-18 19:24:32 +0100
committerNicholas Bellinger2014-01-10 06:48:36 +0100
commit8a0bedd36a5fe5378555bc01846d7bd7a0d38b85 (patch)
treefb35d93039288a8c227e86dd7fc6c5cae9d0f49f /drivers/target/target_core_xcopy.c
parenttarget_core_alua: Referrals configfs integration (diff)
downloadkernel-qcow2-linux-8a0bedd36a5fe5378555bc01846d7bd7a0d38b85.tar.gz
kernel-qcow2-linux-8a0bedd36a5fe5378555bc01846d7bd7a0d38b85.tar.xz
kernel-qcow2-linux-8a0bedd36a5fe5378555bc01846d7bd7a0d38b85.zip
drivers: target: Move prototype declaration of function to header file target_core_pr.h
Move prototype declaration of function spc_parse_naa_6h_vendor_specific() from target_core_xcopy.c to header file target_core_pr.h because it is used by more than one file. This eliminates the following warning in target_core_spc.c: drivers/target/target_core_spc.c:138:6: warning: no previous prototype for ‘spc_parse_naa_6h_vendor_specific’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_xcopy.c')
-rw-r--r--drivers/target/target_core_xcopy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/target/target_core_xcopy.c b/drivers/target/target_core_xcopy.c
index 6b88a9958f61..669c536fd959 100644
--- a/drivers/target/target_core_xcopy.c
+++ b/drivers/target/target_core_xcopy.c
@@ -40,10 +40,6 @@
static struct workqueue_struct *xcopy_wq = NULL;
/*
- * From target_core_spc.c
- */
-extern void spc_parse_naa_6h_vendor_specific(struct se_device *, unsigned char *);
-/*
* From target_core_device.c
*/
extern struct mutex g_device_mutex;