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 4f4b97161228cb57f2c283d383fc3df672dfdc18..aba6861c362b03c298cf0abdad9fc56e52415517 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 b8b5a719a784048902fbbbc05df0e3d17f3ef028..9c2da1ff886a205e88dbe1bf24338d7f1f37ce6c 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;