summaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorVincenzo Mezzela <vincenzo.mezzela@gmail.com>2024-06-07 18:33:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-11 09:31:04 +0200
commit97b1974547c517d8b5cba1fa0cc7213399ff0d2c (patch)
tree7082e81aa6f6de6391246206f16bb75854c03312 /rust/helpers.c
parentd7d3ae441e29f0ca56c69cdd3a47769227b7be3d (diff)
drivers: arch_topology: Refactor do-while loops
Refactor do-while loops to move break condition within the loop's scope. This modification is in preparation to move the declaration of the device_node directly within the loop and take advantage of the automatic cleanup feature provided by the __free(device_node) attribute. Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@gmail.com> Link: https://lore.kernel.org/r/20240607163350.392971-2-vincenzo.mezzela@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions