From: Shraddha Barke Date: Fri, 4 Sep 2015 06:38:47 +0000 (+0530) Subject: Staging: lustre: obdclass: Remove unnecessary return statements X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d4d34a5f5de5e5449bdf1ddd16ab42494d07af50;p=linux-beck.git Staging: lustre: obdclass: Remove unnecessary return statements 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/genops.c b/drivers/staging/lustre/lustre/obdclass/genops.c index bc614dce70c6..a2a82e11ec51 100644 --- a/drivers/staging/lustre/lustre/obdclass/genops.c +++ b/drivers/staging/lustre/lustre/obdclass/genops.c @@ -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