]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/mremap.c: clean up goto just return ERR_PTR
authorDerek <denc716@gmail.com>
Tue, 7 Apr 2015 23:44:30 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:30 +0000 (09:44 +1000)
commita1d81e5b824c93c5c8521d2c607973dd3606bfc2
tree2a72d93f45136a72cc4279959f91af5faf7ba697
parent1f4614147b9cf2fe4d0c76131460804437c9858d
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>
mm/mremap.c