]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mm/mremap.c: clean up goto just return ERR_PTR
authorDerek <denc716@gmail.com>
Wed, 15 Apr 2015 23:14:02 +0000 (16:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 23:35:18 +0000 (16:35 -0700)
commit6cd576130b7152d8f225bab9d21a3f6f96c84b47
tree4c3f0e4977cd5d871dd93de6d55f0ff502db8ef2
parent12215182c80c06ab3c69969abba6e4a834493cd8
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>
mm/mremap.c