Skip to content

Commit

Permalink
mm/vmalloc.c: remove unnecessary return statement
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Baolin Wang authored and torvalds committed Dec 15, 2020
1 parent 799fa85 commit e924d46
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,6 @@ static void __vunmap(const void *addr, int deallocate_pages)
}

kfree(area);
return;
}

static inline void __vfree_deferred(const void *addr)
Expand Down

0 comments on commit e924d46

Please sign in to comment.