diff options
| author | 2022-04-27 19:07:32 +0200 | |
|---|---|---|
| committer | 2022-04-27 17:19:30 -0400 | |
| commit | 99d8ae4ec8a90ecf6c2a6a141bd4db4a3bc5146c (patch) | |
| tree | aacec8774ced46e00cf29259b3cc23edd306851d /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | tracing: Remove usage of list iterator after the loop body (diff) | |
| download | linux-dev-99d8ae4ec8a90ecf6c2a6a141bd4db4a3bc5146c.tar.xz linux-dev-99d8ae4ec8a90ecf6c2a6a141bd4db4a3bc5146c.zip | |
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/20220427170734.819891-3-jakobkoschel@gmail.com
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
