]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: lov_pool: Fixed a return coding style warning.
authorRakhi Sharma <rakhish1994@gmail.com>
Wed, 10 Feb 2016 08:43:47 +0000 (14:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:29:42 +0000 (19:29 -0800)
Remove unusefull return at the end of void function.
WARNING: void function return statements are not generally useful.

Signed-off-by: Rakhi Sharma <rakhish1994@gmail.com>
Changes in v3:
  shortened the subject line and make the discription more clear.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_pool.c

index b43ce6cd64c2aaef4934a40aa6db2912d3ada5a5..3ee1d40413689248269c6f87b6eadc1302cbae16 100644 (file)
@@ -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)