lkml.org 
[lkml]   [2020]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm/vmalloc: Remove unnecessary return statement
Date
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
\
 
 \ /
  Last update: 2020-12-02 07:56    [W:0.016 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site