Skip to contentSkip to conversation

staging: lustre: lov_pool: Fixed a return coding style warning.

PATCH Superseded Rakhi Sharma 1 participant 1 message Feb 10, 2016 Staging

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 staging: lustre: lov_pool: Fixed a return coding style warning.

Remove unusefull return at the end of void function.
WARNING: void function return statements are not generally useful.

---
 drivers/staging/lustre/lustre/lov/lov_pool.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/lustre/lustre/lov/lov_pool.c +0 -1
index bba37bf..34e0919 100644
@@ -247,7 +247,6 @@ static void pool_proc_stop(struct seq_file *s, void *v)
 		lov_pool_putref(iter->pool);
 		kfree(iter);
 	}
-	return;
 }
 
 static int pool_proc_show(struct seq_file *s, void *v)
Signature · 1 line
1.9.1