diff options
| author | 2025-12-09 15:27:57 +0800 | |
|---|---|---|
| committer | 2026-01-07 20:37:54 +0100 | |
| commit | b0c8ac52da5a1c00bb9ffdc231cbf2222297688d (patch) | |
| tree | b88c70f360bd1ba472511f59be0e4cfec3594509 /tools/perf/scripts/python/stackcollapse.py | |
| parent | Linux 6.19-rc4 (diff) | |
ACPI: acpi_watchdog: use LIST_HEAD for stack-allocated list
Replace the separate declaration of 'resource_list' and subsequent
INIT_LIST_HEAD() call with LIST_HEAD(), which declares and initializes
the list head in one idiomatic step. This reduces code verbosity and
aligns with common kernel coding patterns, without functional change.
Signed-off-by: Can Peng <pengcan@kylinos.cn>
[ rjw: Subject edits ]
Link: https://patch.msgid.link/20251209072757.3110467-1-pengcan@kylinos.cn
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
