diff options
author | Jakob Koschel | 2022-03-31 23:57:07 +0200 |
---|---|---|
committer | Thomas Gleixner | 2022-04-10 12:38:45 +0200 |
commit | 2966a9918dfab183a1cb6be6794981ebe2abff83 (patch) | |
tree | 60c87f3b3ea5a0a8a88ee7fef62dcec110154047 /mm | |
parent | a2026e44eff5d74a83d7ffee6325a007bef85385 (diff) |
clockevents: Use dedicated list iterator variable
To move the list iterator variable into the list_for_each_entry_*()
macro in the future it should be avoided to use the list iterator
variable after the loop body.
To *never* use the list iterator variable after the loop it was
concluded to use a separate iterator variable.
Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/CAHk-=wgRr_D8CB-D9Kg-c=EHreAsk5SqXPwr9Y7k9sA6cWXJ6w@mail.gmail.com/
Link: https://lore.kernel.org/r/20220331215707.883957-1-jakobkoschel@gmail.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions