diff options
| author | 2025-12-09 15:15:13 +0800 | |
|---|---|---|
| committer | 2026-01-10 10:58:54 +0100 | |
| commit | 16e3423fc755cf9ddcceefaf70869311046928e2 (patch) | |
| tree | 4028dab04efb7a05e142364536af901b9cba6f9b /tools/perf/scripts/python/stackcollapse.py | |
| parent | iommu: debug-pagealloc: Check mapped/unmapped kernel memory (diff) | |
iommu: simplify list initialization in iommu_create_device_direct_mappings()
Use LIST_HEAD() to declare and initialize the 'mappings' list head in
iommu_create_device_direct_mappings() instead of separate declaration and
INIT_LIST_HEAD(). This simplifies the code by combining declaration and
initialization into a single idiomatic form, improving readability without
changing functionality.
Signed-off-by: Can Peng <pengcan@kylinos.cn>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
