Commit 1f3fd503 authored by Andreas Ruprecht's avatar Andreas Ruprecht Committed by Greg Kroah-Hartman

staging: lustre: fid: Remove space before braces for defined() check

checkpatch complains about three places where a space is prohibited
before the braces for an "#if defined()" check. This patch removes
the spaces.
Signed-off-by: default avatarAndreas Ruprecht <rupran@einserver.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ef4356bf
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
int seq_client_alloc_super(struct lu_client_seq *seq, int seq_client_alloc_super(struct lu_client_seq *seq,
const struct lu_env *env); const struct lu_env *env);
#if defined (CONFIG_PROC_FS) #if defined(CONFIG_PROC_FS)
extern struct lprocfs_vars seq_client_proc_list[]; extern struct lprocfs_vars seq_client_proc_list[];
#endif #endif
......
...@@ -402,7 +402,7 @@ EXPORT_SYMBOL(seq_client_flush); ...@@ -402,7 +402,7 @@ EXPORT_SYMBOL(seq_client_flush);
static void seq_client_proc_fini(struct lu_client_seq *seq) static void seq_client_proc_fini(struct lu_client_seq *seq)
{ {
#if defined (CONFIG_PROC_FS) #if defined(CONFIG_PROC_FS)
if (seq->lcs_proc_dir) { if (seq->lcs_proc_dir) {
if (!IS_ERR(seq->lcs_proc_dir)) if (!IS_ERR(seq->lcs_proc_dir))
lprocfs_remove(&seq->lcs_proc_dir); lprocfs_remove(&seq->lcs_proc_dir);
...@@ -413,7 +413,7 @@ static void seq_client_proc_fini(struct lu_client_seq *seq) ...@@ -413,7 +413,7 @@ static void seq_client_proc_fini(struct lu_client_seq *seq)
static int seq_client_proc_init(struct lu_client_seq *seq) static int seq_client_proc_init(struct lu_client_seq *seq)
{ {
#if defined (CONFIG_PROC_FS) #if defined(CONFIG_PROC_FS)
int rc; int rc;
seq->lcs_proc_dir = lprocfs_register(seq->lcs_name, seq->lcs_proc_dir = lprocfs_register(seq->lcs_name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment