mm/mremap.c: clean up goto just return ERR_PTR
authorDerek <[email protected]>
Wed, 15 Apr 2015 23:14:02 +0000 (16:14 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Suggested-by: "Kirill A. Shutemov" <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/mremap.c