From: Shraddha Barke <shraddha.6596@gmail.com>
Date: Fri, 4 Sep 2015 06:38:47 +0000 (+0530)
Subject: Staging: lustre: obdclass: Remove unnecessary return statements
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d4d34a5f5de5e5449bdf1ddd16ab42494d07af50;p=linux.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 <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---

diff --git a/drivers/staging/lustre/lustre/obdclass/genops.c b/drivers/staging/lustre/lustre/obdclass/genops.c
index bc614dce70c6c..a2a82e11ec51f 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