diff options
| author | Wander Lairson Costa <wander@redhat.com> | 2026-01-06 08:49:39 -0300 |
|---|---|---|
| committer | Tomas Glozar <tglozar@redhat.com> | 2026-01-07 15:57:55 +0100 |
| commit | 648634d17c813b35da775982662e56ea8ce750de (patch) | |
| tree | 9630d85c61089b70a5191dcc77a60537cdb30a8c /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 2a3a25336b1ba632a0a98249a7d4bbee454065aa (diff) | |
rtla: Introduce for_each_action() helper
The for loop to iterate over the list of actions is used in
more than one place. To avoid code duplication and improve
readability, introduce a for_each_action() helper macro.
Replace the open-coded for loops with the new helper.
Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Link: https://lore.kernel.org/r/20260106133655.249887-4-wander@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
