summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2020-12-14 19:08:56 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-15 12:13:42 -0800
commite924d461f2c3ca3f31f48b0be421487d99fa2e5e (patch)
treed9db37febe2fe06a20241ea3f921549a75af0bff /mm/vmalloc.c
parent799fa85d66e96b62afedb92fe9e8a32410d65bac (diff)
downloadlinux-e924d461f2c3ca3f31f48b0be421487d99fa2e5e.tar.bz2
mm/vmalloc.c: remove unnecessary return statement
Remove unnecessary return statement for void function. Link: https://lkml.kernel.org/r/ca23f89259c80c3562700ae6e227b2815a195853.1606891153.git.baolin.wang@linux.alibaba.com Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r--mm/vmalloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 168e8d04dbba..5d310f510ee5 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -2291,7 +2291,6 @@ static void __vunmap(const void *addr, int deallocate_pages)
}
kfree(area);
- return;
}
static inline void __vfree_deferred(const void *addr)