summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Vandre <bvandre@gmail.com>2014-12-03 22:06:55 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-17 15:25:58 -0800
commit41f53d5739bd4d9b41688bd5532be4c489bd485e (patch)
tree3ded82d08c259af90605ad7a3918144492b9372c
parentfa2592cdc526ceef39a5176267ef040abeafd14c (diff)
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>
-rw-r--r--drivers/staging/lustre/lustre/fld/fld_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/lustre/lustre/fld/fld_request.c
index 0d361ff43212..7801db0e79ce 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -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)