target/tcm_fc: Don't export ft_lport_list
authorAndy Grover <agrover@redhat.com>
Fri, 4 Apr 2014 23:54:11 +0000 (16:54 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 11 Apr 2014 22:30:50 +0000 (15:30 -0700)
Nobody outside tfc_conf.c uses it.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tcm_fc.h
drivers/target/tcm_fc/tfc_conf.c

index 4f4b971..aba6861 100644 (file)
@@ -128,7 +128,6 @@ struct ft_cmd {
        u32 sg_cnt;                     /* No. of item in scatterlist */
 };
 
-extern struct list_head ft_lport_list;
 extern struct mutex ft_lport_lock;
 extern struct fc4_prov ft_prov;
 extern struct target_fabric_configfs *ft_configfs;
index b8b5a71..9c2da1f 100644 (file)
@@ -50,7 +50,7 @@
 
 struct target_fabric_configfs *ft_configfs;
 
-LIST_HEAD(ft_lport_list);
+static LIST_HEAD(ft_lport_list);
 DEFINE_MUTEX(ft_lport_lock);
 
 unsigned int ft_debug_logging;