diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-04-16 01:14:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-16 01:35:19 +0200 |
commit | 9fcd145717e6496d0c376acb1a5cc551a716c305 (patch) | |
tree | 88de36f6e45a2ddf1451e849b21f40259156d33a /block/noop-iosched.c | |
parent | mm, selftests: test return value of munmap for MAP_HUGETLB memory (diff) | |
download | linux-9fcd145717e6496d0c376acb1a5cc551a716c305.tar.xz linux-9fcd145717e6496d0c376acb1a5cc551a716c305.zip |
mm/mmap.c: use while instead of if+goto
The creators of the C language gave us the while keyword. Let's use
that instead of synthesizing it from if+goto.
Made possible by 6597d783397a ("mm/mmap.c: replace find_vma_prepare()
with clearer find_vma_links()").
[akpm@linux-foundation.org: fix 80-col overflows]
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions