aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorJakob Koschel <[email protected]>2022-04-27 19:07:32 +0200
committerSteven Rostedt (Google) <[email protected]>2022-04-27 17:19:30 -0400
commit99d8ae4ec8a90ecf6c2a6a141bd4db4a3bc5146c (patch)
treeaacec8774ced46e00cf29259b3cc23edd306851d /lib/mpi/mpi-add.c
parent1da27a25054f7660f7bb27ad4ccf036ee6ba51e9 (diff)
tracing: Remove usage of list iterator variable after the loop
In preparation to limit the scope of a list iterator to the list traversal loop, use a dedicated pointer to point to the found element [1]. Link: https://lore.kernel.org/all/CAHk-=wgRr_D8CB-D9Kg-c=EHreAsk5SqXPwr9Y7k9sA6cWXJ6w@mail.gmail.com/ [1] Link: https://lkml.kernel.org/r/[email protected] Cc: Ingo Molnar <[email protected]> Signed-off-by: Jakob Koschel <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions