From: Darshana Padmadas Date: Wed, 17 Sep 2014 15:28:43 +0000 (+0530) Subject: Staging: lustre: Fix return in void function warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3e9cc5b0450a40be3442a82a5a5293f85ca06c7d;p=linux-beck.git Staging: lustre: Fix return in void function warning This fixes checkpatch.pl warning: WARNING: void function return statements are not generally useful Signed-off-by: Darshana Padmadas Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h index a38209506d6c..978d3e2f16d3 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h @@ -83,6 +83,5 @@ static inline void cfs_memory_pressure_restore(int old) memory_pressure_set(); else memory_pressure_clr(); - return; } #endif