Staging: lustre: obdclass: Remove unnecessary return statements
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 4 Sep 2015 06:38:47 +0000 (12:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:48 +0000 (18:24 -0700)
This patch removes return statement which are not required.
The warning was detected by checkpatch.pl

WARNING: void function return statements are not generally useful

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/genops.c

index bc614dc..a2a82e1 100644 (file)
@@ -523,7 +523,6 @@ void class_obd_list(void)
                         atomic_read(&obd->obd_refcount));
        }
        read_unlock(&obd_dev_lock);
-       return;
 }
 
 /* Search for a client OBD connected to tgt_uuid.  If grp_uuid is