commit | 6cd576130b7152d8f225bab9d21a3f6f96c84b47 | [log] [tgz] |
---|---|---|
author | Derek <denc716@gmail.com> | Wed Apr 15 16:14:02 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 15 16:35:18 2015 -0700 |
tree | 4c3f0e4977cd5d871dd93de6d55f0ff502db8ef2 | |
parent | 12215182c80c06ab3c69969abba6e4a834493cd8 [diff] |
mm/mremap.c: clean up goto just return ERR_PTR As suggested by Kirill the "goto"s in vma_to_resize aren't necessary, just change them to explicit return. Signed-off-by: Derek Che <crquan@ymail.com> Suggested-by: "Kirill A. Shutemov" <kirill@shutemov.name> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>