fs/binfmt_elf.c: save 1 indent level
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 14 May 2019 22:43:45 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 May 2019 02:52:50 +0000 (19:52 -0700)
commitbe0deb585e4c51d1c00e3f4862f95228ab72b7d8
treed9977c3b90d64859e463b9b05cfda1e068abcabc
parentba0f6b88a8376565997fc848a6a8be5109d739ee
fs/binfmt_elf.c: save 1 indent level

Rewrite

for (...) {
if (->p_type == PT_INTERP) {
...
break;
}
}

loop into

for (...) {
if (->p_type != PT_INTERP)
continue;
...
break;
}

Link: http://lkml.kernel.org/r/20190416201906.GA24304@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c