diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-11-30 15:48:38 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-06 16:37:46 +0100 |
| commit | 5220cb493bf418cc4ce5f3ba961dbd0207441731 (patch) | |
| tree | a0c7dc3fd9de2313b1bbf267c067e54746177981 /tools/perf/scripts/python/flamegraph.py | |
| parent | 66eccb5274c0b1cdca3bbd1b3627c52e94575808 (diff) | |
| download | linux-5220cb493bf418cc4ce5f3ba961dbd0207441731.tar.gz linux-5220cb493bf418cc4ce5f3ba961dbd0207441731.zip | |
xhci: 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.
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221130134838.23805-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
