diff options
| author | Can Peng <pengcan@kylinos.cn> | 2025-12-09 15:15:13 +0800 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-01-10 10:58:54 +0100 |
| commit | 16e3423fc755cf9ddcceefaf70869311046928e2 (patch) | |
| tree | 4028dab04efb7a05e142364536af901b9cba6f9b /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | a8258ffed2efdf533bdc756141eeb7bc5301ad4f (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/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
