Alexey Dobriyan ead5a72773 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>
2023-10-18 14:43:22 -07:00
..
2022-10-03 14:21:45 -07:00
2023-01-19 09:24:28 +01:00
2023-10-18 14:43:22 -07:00
2022-10-10 11:24:19 -07:00
2022-10-03 14:21:45 -07:00
2023-08-28 11:43:19 -07:00
2023-08-29 17:39:15 -07:00
2022-10-03 14:21:45 -07:00
2023-04-18 16:39:33 -07:00
2022-10-03 14:21:45 -07:00
2022-10-03 14:21:45 -07:00