staging: lustre: fld: fixed symbol was not declared
Fixes the sparse warning: "warning: symbol 'fld_type_proc_dir' was not declared. Should it be static?" Also removes initialization to NULL. Signed-off-by: Brian Vandre <bvandre@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fa2592cdc5
commit
41f53d5739
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ int fld_client_del_target(struct lu_client_fld *fld, __u64 idx)
|
|||
}
|
||||
EXPORT_SYMBOL(fld_client_del_target);
|
||||
|
||||
struct proc_dir_entry *fld_type_proc_dir = NULL;
|
||||
static struct proc_dir_entry *fld_type_proc_dir;
|
||||
|
||||
#if defined (CONFIG_PROC_FS)
|
||||
static int fld_client_proc_init(struct lu_client_fld *fld)
|
||||
|
|
Loading…
Add table
Reference in a new issue