s390/syscall: Simplify syscall_get_arguments()
authorSven Schnelle <svens@linux.ibm.com>
Thu, 27 Feb 2025 07:22:07 +0000 (08:22 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 11 Mar 2025 14:28:58 +0000 (15:28 +0100)
commit8751b6e9e4abf3603b567e871768eb8cca8ef91a
tree733826d8c68c621d1086b06a8e80a1dfb82f0cc3
parentcbf367d5b0aaf4b9d2d411a6cb1637148695fa53
s390/syscall: Simplify syscall_get_arguments()

Replace the while loop and if statement with a simple for loop
to make the code easier to understand.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/syscall.h