Staging: lustre: lnet :socklnd return statement in void function not useful
authorNilesh Kokane <nilesh.kokane05@gmail.com>
Fri, 23 Oct 2015 05:32:20 +0000 (11:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:57:00 +0000 (18:57 -0700)
Return function in void function is not needed.

Signed-off-by: Nilesh Kokane <Nilesh.Kokane05@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c

index 1967c21..86e172b 100644 (file)
@@ -1838,7 +1838,6 @@ ksocknal_query(lnet_ni_t *ni, lnet_nid_t nid, unsigned long *when)
                ksocknal_launch_all_connections_locked(peer);
 
        write_unlock_bh(glock);
-       return;
 }
 
 static void