diff options
| author | Cai Huoqing <[email protected]> | 2022-02-11 09:28:07 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-14 12:49:38 +0100 |
| commit | 4378e427f70577da86b41bb3380dbe237b6aa4d5 (patch) | |
| tree | 0ea2afc8063393919ac604492c9c2902063b885e /tools/perf/scripts/python/flamegraph.py | |
| parent | 18819ad23828ff0e83e3aa53230b586659f69e79 (diff) | |
usbip: vudc: Make use of the helper macro LIST_HEAD()
Replace "struct list_head head = LIST_HEAD_INIT(head)" with
"LIST_HEAD(head)" to simplify the code.
LIST_HEAD() helps to clean up the code "struct list_head vudc_devices =",
only to care about the variable 'vudc_devices'.
Reviewed-by: Shuah Khan <[email protected]>
Signed-off-by: Cai Huoqing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions