diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-11-30 15:48:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-06 16:37:46 +0100 |
| commit | 94c6bcec9f6c4843a9a8d07dddc042ca7a93777c (patch) | |
| tree | 5ffb768bf597fd7ceb4cb17499a1206d6ab6fc7c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 4d70c74659d9746502b23d055dba03d1d28ec388 (diff) | |
| download | linux-94c6bcec9f6c4843a9a8d07dddc042ca7a93777c.tar.gz linux-94c6bcec9f6c4843a9a8d07dddc042ca7a93777c.zip | |
usb: gadget: hid: Convert to use list_count_nodes()
The list API provides the list_count_nodes() to help with counting
existing nodes in the list. Utilise it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221130134838.23805-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
