diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2023-09-29 19:31:41 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-18 14:43:22 -0700 |
commit | ead5a727739fa63b94ccd281d848a503032444ee (patch) | |
tree | 1432d9ad744dc5adf49c8d33bfcc24999740478a /tools/testing/selftests/proc/proc-empty-vm.c | |
parent | 860a2e7fa4a186a78be904879f752858c96328ed (diff) |
proc: save LOC by using while loop
Use while loop instead of infinite loop with "break;".
Also move some variable to the inner scope where they belong.
Link: https://lkml.kernel.org/r/82c8f8e7-8ded-46ca-8857-e60b991d6205@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/proc-empty-vm.c')
0 files changed, 0 insertions, 0 deletions