On Mon, 2026-06-22 at 12:28 +0800, Kaitao Cheng wrote: > From: Kaitao Cheng <[email protected]> > > The safe list iteration helpers require callers to provide a temporary > cursor even when the cursor is only used internally by the loop. This > leaves many functions with otherwise unused variables whose only purpose > is to satisfy the old iterator interface. > > Use the mutable list iteration helpers for those cases. The mutable > helpers keep the same removal-safe traversal semantics, while allowing > the temporary cursor to be internal to the macro when the caller does > not need to observe it. > > Convert list, hlist and llist users under kernel/ where the temporary > cursor is not used outside the iteration. Keep the explicit cursor form > where the next entry is still needed by the surrounding code. > > No functional change intended. > > Signed-off-by: Kaitao Cheng <[email protected]> > ---
Beside the fact that this does not apply, I don't see a reason why is this needed for BPF sub-tree. [...]
