Skip to content

Commit 3e9cc5b

Browse files
darshanapdasgregkh
authored andcommitted
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>
1 parent 6606a77 commit 3e9cc5b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/staging/lustre/include/linux/libcfs/libcfs_prim.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,5 @@ static inline void cfs_memory_pressure_restore(int old)
8383
memory_pressure_set();
8484
else
8585
memory_pressure_clr();
86-
return;
8786
}
8887
#endif

0 commit comments

Comments
 (0)