drivers: staging: lustre: lnet: api-nc.c: Fix Style Warnings
authorThomas Wood <tommyandrena@gmail.com>
Mon, 17 Nov 2014 19:54:40 +0000 (11:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Nov 2014 19:01:21 +0000 (11:01 -0800)
Remove an unecessary return statement in a void function.
Remove an unecessary space between a function name and the parentheses.

Signed-off-by: Thomas Wood <tommyandrena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/api-ni.c

index 5e6e4e22ed31923f9ae6788033e3b652a8edb8e6..faceb9505d84919630675a37f374077fb126b51a 100644 (file)
@@ -277,7 +277,7 @@ lnet_find_lnd_by_type(int type)
        struct list_head         *tmp;
 
        /* holding lnd mutex */
-       list_for_each (tmp, &the_lnet.ln_lnds) {
+       list_for_each(tmp, &the_lnet.ln_lnds) {
                lnd = list_entry(tmp, lnd_t, lnd_list);
 
                if ((int)lnd->lnd_type == type)
@@ -1645,7 +1645,6 @@ lnet_destroy_ping_info(void)
                    offsetof(lnet_ping_info_t,
                             pi_ni[the_lnet.ln_ping_info->pi_nnis]));
        the_lnet.ln_ping_info = NULL;
-       return;
 }
 
 int
This page took 0.026037 seconds and 5 git commands to generate.