diff mbox series

mm/vmalloc: Remove unnecessary return statement

Message ID ca23f89259c80c3562700ae6e227b2815a195853.1606891153.git.baolin.wang@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series mm/vmalloc: Remove unnecessary return statement | expand

Commit Message

Baolin Wang Dec. 2, 2020, 6:52 a.m. UTC
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 mbox series

Patch

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)