staging: lustre: remove space between function name and open parenthesis
authorTeodora Baluta <teobaluta@gmail.com>
Tue, 5 Nov 2013 16:36:45 +0000 (18:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 17:46:32 +0000 (09:46 -0800)
This fixes the following checkpatch.pl warnings:

WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/nidstrings.c

index 99c9e9d2493ffbc67cbbb8d4e13c310487c191a0..347579d7f56045b3be2ee5b59c865ec360e5eaf9 100644 (file)
@@ -60,7 +60,7 @@ static int       libcfs_nidstring_idx = 0;
 
 static spinlock_t libcfs_nidstring_lock;
 
-void libcfs_init_nidstrings (void)
+void libcfs_init_nidstrings(void)
 {
        spin_lock_init(&libcfs_nidstring_lock);
 }
@@ -69,7 +69,7 @@ void libcfs_init_nidstrings (void)
 # define NIDSTR_UNLOCK(f) spin_unlock_irqrestore(&libcfs_nidstring_lock, f)
 
 static char *
-libcfs_next_nidstring (void)
+libcfs_next_nidstring(void)
 {
        char      *str;
        unsigned long  flags;
@@ -475,7 +475,7 @@ libcfs_str2nid(const char *str)
                sep = str + strlen(str);
                net = LNET_MKNET(SOCKLND, 0);
                nf = libcfs_lnd2netstrfns(SOCKLND);
-               LASSERT (nf != NULL);
+               LASSERT(nf != NULL);
        }
 
        if (!nf->nf_str2addr(str, (int)(sep - str), &addr))