summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDarshana Padmadas <darshanapadmadas@gmail.com>2014-09-17 20:58:43 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 17:34:34 -0700
commit3e9cc5b0450a40be3442a82a5a5293f85ca06c7d (patch)
tree2a263310a286e32915fa809030f304190d1d5384 /drivers
parent6606a77f92821f8bfd4b1b6ba296da662fecb640 (diff)
downloadlinux-3e9cc5b0450a40be3442a82a5a5293f85ca06c7d.tar.bz2
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 <darshanapadmadas@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h1
1 files changed, 0 insertions, 1 deletions
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