]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mmap.c: get rid of odd jump labels in find_mergeable_anon_vma()
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 31 Jan 2020 06:14:51 +0000 (22:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2020 18:30:39 +0000 (10:30 -0800)
commitf68eba3178c3601610a24c100c3e7c72c07f9405
treef22e4bc62dd5a3ab9a2bb0918065fd50cd5f5d48
parent0f370b9f3d0743b544f6f7894eca092beec5377c
mm/mmap.c: get rid of odd jump labels in find_mergeable_anon_vma()

The jump labels try_prev and none are not really needed in
find_mergeable_anon_vma(), eliminate them to improve readability.

Link: http://lkml.kernel.org/r/1574079844-17493-1-git-send-email-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Wei Yang <richardw.yang@linux.intel.com>
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/mmap.c