s390/cio: use while (i--) pattern to clean up
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Feb 2024 13:45:01 +0000 (15:45 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Sun, 17 Mar 2024 18:08:49 +0000 (19:08 +0100)
commit481ec3b37678639ec1f8197c92b6e604b9549b2d
tree8b45b603cf28c54be96ebc14d60d08ab342c5022
parent69460c5e6be063a85bb144845422776e0ffe8faa
s390/cio: use while (i--) pattern to clean up

Use more natural while (i--) pattern to clean up allocated resources.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Link: https://lore.kernel.org/r/20240222134501.236871-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/cio/ccwgroup.c
drivers/s390/cio/chsc.c