Staging: lustre: Fix return in void function warning
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Wed, 17 Sep 2014 15:28:43 +0000 (20:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:34:34 +0000 (17:34 -0700)
This fixes checkpatch.pl warning:

WARNING: void function return statements are not generally useful

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h

index a382095..978d3e2 100644 (file)
@@ -83,6 +83,5 @@ static inline void cfs_memory_pressure_restore(int old)
                memory_pressure_set();
        else
                memory_pressure_clr();
-       return;
 }
 #endif