Skip to contentSkip to conversation

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

PATCH New Andreas Ruprecht 1 participant 1 message Jan 3, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/lustre/lustre/fid/fid_internal.h | 2 +-
 drivers/staging/lustre/lustre/fid/fid_request.c  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/lustre/lustre/fid/fid_internal.h +1 -1
index eb607c52ef3b..b5e8da8956f2 100644
@@ -47,7 +47,7 @@
 int seq_client_alloc_super(struct lu_client_seq *seq,
 			   const struct lu_env *env);
 
-#if defined (CONFIG_PROC_FS)
+#if defined(CONFIG_PROC_FS)
 extern struct lprocfs_vars seq_client_proc_list[];
 #endif
 
drivers/staging/lustre/lustre/fid/fid_request.c +2 -2
index 64b1d80c64b0..063441abfcfc 100644
@@ -402,7 +402,7 @@ EXPORT_SYMBOL(seq_client_flush);
 
 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 (!IS_ERR(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)
 
 static int seq_client_proc_init(struct lu_client_seq *seq)
 {
-#if defined (CONFIG_PROC_FS)
+#if defined(CONFIG_PROC_FS)
 	int rc;
 
 	seq->lcs_proc_dir = lprocfs_register(seq->lcs_name,
Signature · 1 line
1.9.1