staging: lustre: lnet: klnds: o2iblnd: Removed useless return keywords.
authorGulsah Kose <gulsah.1004@gmail.com>
Sun, 22 Feb 2015 03:08:05 +0000 (05:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 20:23:57 +0000 (12:23 -0800)
Removed return keyword from void functions. Removed following checkpatch.pl warnings:
WARNING: void function return statements are not generally useful

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c

index 4e7d91dab6c48fd58f660bb6d11caf7f332c8a00..109f44c18dd9ac138d5f0d476dc98d7b1cc92e8e 100644 (file)
@@ -1103,7 +1103,6 @@ kiblnd_query(lnet_ni_t *ni, lnet_nid_t nid, unsigned long *when)
        CDEBUG(D_NET, "Peer %s %p, alive %ld secs ago\n",
               libcfs_nid2str(nid), peer,
               last_alive ? cfs_duration_sec(now - last_alive) : -1);
-       return;
 }
 
 void
@@ -2862,7 +2861,6 @@ kiblnd_shutdown(lnet_ni_t *ni)
 out:
        if (list_empty(&kiblnd_data.kib_devs))
                kiblnd_base_shutdown();
-       return;
 }
 
 static int
This page took 0.025358 seconds and 5 git commands to generate.