]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: fid: Remove space before braces for defined() check
authorAndreas Ruprecht <rupran@einserver.de>
Sat, 3 Jan 2015 11:29:05 +0000 (12:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:58:30 +0000 (15:58 -0800)
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: Andreas Ruprecht <rupran@einserver.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/fid/fid_internal.h
drivers/staging/lustre/lustre/fid/fid_request.c

index eb607c52ef3bf3a534cc0464a79b541427f91418..b5e8da8956f2bd7de3e5fa079fea000c91c6fe18 100644 (file)
@@ -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
 
index 64b1d80c64b0fe3307d51409b6537521bc4b943f..063441abfcfc166d0327934e8e764ec969908a2e 100644 (file)
@@ -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,