diff options
| author | Vincenzo Mezzela <[email protected]> | 2024-06-07 16:33:49 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-11 07:31:04 +0000 |
| commit | 97b1974547c517d8b5cba1fa0cc7213399ff0d2c (patch) | |
| tree | 7082e81aa6f6de6391246206f16bb75854c03312 /drivers/net/ethernet/intel/ice/ice_ptp.c | |
| parent | dca: make dca_class a static const structure (diff) | |
| download | kernel-97b1974547c517d8b5cba1fa0cc7213399ff0d2c.tar.gz kernel-97b1974547c517d8b5cba1fa0cc7213399ff0d2c.zip | |
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 <[email protected]>
Signed-off-by: Vincenzo Mezzela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ptp.c')
0 files changed, 0 insertions, 0 deletions
