Skip to content

Commit

Permalink
target/tcm_fc: Don't export ft_lport_list
Browse files Browse the repository at this point in the history
Nobody outside tfc_conf.c uses it.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
  • Loading branch information
Andy Grover authored and Nicholas Bellinger committed Apr 11, 2014
1 parent 2c42be2 commit b295e76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/target/tcm_fc/tcm_fc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/target/tcm_fc/tfc_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b295e76

Please sign in to comment.