From: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Subject: 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@xxxxxxxxxxxxxxxxx Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/vmalloc.c~mm-vmalloc-remove-unnecessary-return-statement +++ a/mm/vmalloc.c @@ -2291,7 +2291,6 @@ static void __vunmap(const void *addr, i } kfree(area); - return; } static inline void __vfree_deferred(const void *addr) _