diff options
| author | Jakob Koschel <jakobkoschel@gmail.com> | 2022-04-27 20:07:32 +0300 |
|---|---|---|
| committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-04-28 00:19:30 +0300 |
| commit | 99d8ae4ec8a90ecf6c2a6a141bd4db4a3bc5146c (patch) | |
| tree | aacec8774ced46e00cf29259b3cc23edd306851d /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 1da27a25054f7660f7bb27ad4ccf036ee6ba51e9 (diff) | |
| download | linux-99d8ae4ec8a90ecf6c2a6a141bd4db4a3bc5146c.tar.xz | |
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
