* [PATCH] mm/vmalloc: Remove unnecessary return statement
@ 2020-12-02 6:52 Baolin Wang
0 siblings, 0 replies; only message in thread
From: Baolin Wang @ 2020-12-02 6:52 UTC (permalink / raw)
To: akpm; +Cc: baolin.wang, linux-mm, linux-kernel
Remove unnecessary return statement for void function.
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
---
mm/vmalloc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 6ae491a..c290fc9 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -2275,7 +2275,6 @@ static void __vunmap(const void *addr, int deallocate_pages)
}
kfree(area);
- return;
}
static inline void __vfree_deferred(const void *addr)
--
1.8.3.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-02 6:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 6:52 [PATCH] mm/vmalloc: Remove unnecessary return statement Baolin Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox