aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2023-08-30 16:56:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-02 16:19:01 +0200
commit80920e21269265fd6fc5abf825af77ea2d100c8a (patch)
tree488f8c2d98edc1709e0865f85d1a1fb3be51066e /include/linux/usb.h
parentusb: chipidea: tegra: Consistently use dev_err_probe() (diff)
downloadwireguard-linux-80920e21269265fd6fc5abf825af77ea2d100c8a.tar.xz
wireguard-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.h')
0 files changed, 0 insertions, 0 deletions