mm/memory.c: trivial clean up in insert_page()
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 12 Jul 2019 03:54:37 +0000 (20:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Jul 2019 18:05:42 +0000 (11:05 -0700)
commit465fc3a9b3129722b0df395529b3894b0b90d2de
tree70eb2a731758e5ba97f548a0cb926fa7c107322f
parenta7030aea20d9191c271607aa1478f72a41948b0a
mm/memory.c: trivial clean up in insert_page()

Make the success case use the same cleanup path as the failure case.

Link: http://lkml.kernel.org/r/20190523134024.GC24093@localhost.localdomain
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c