diff options
| author | Jinjie Ruan <ruanjinjie@huawei.com> | 2023-08-30 16:56:58 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-02 16:19:01 +0200 |
| commit | 80920e21269265fd6fc5abf825af77ea2d100c8a (patch) | |
| tree | 488f8c2d98edc1709e0865f85d1a1fb3be51066e /include/linux/usb/hcd.h | |
| parent | eb9c996f0110de117bf4d4e2ba837790a17d9ed2 (diff) | |
| download | linux-80920e21269265fd6fc5abf825af77ea2d100c8a.tar.gz linux-80920e21269265fd6fc5abf825af77ea2d100c8a.tar.bz2 linux-80920e21269265fd6fc5abf825af77ea2d100c8a.zip | |
usbmon: Use list_for_each_entry() helper
Convert list_for_each() to list_for_each_entry() so that the p/pos
list_head pointer and list_entry() call are no longer needed, which
can reduce a few lines of code. No functional changed.
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230830085658.527752-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/hcd.h')
0 files changed, 0 insertions, 0 deletions
