aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_item.py
diff options
context:
space:
mode:
authorJonathan Corbet <[email protected]>2025-07-01 22:21:24 +0000
committerJonathan Corbet <[email protected]>2025-07-15 19:43:07 +0000
commit8d9d122915492ea6984f32e5df30cef5c582f062 (patch)
tree8e39564943cca107e96ec911fd0f5b629d6bd247 /scripts/lib/kdoc/kdoc_item.py
parentdocs: kdoc: simplify the output-item passing (diff)
downloadkernel-8d9d122915492ea6984f32e5df30cef5c582f062.tar.gz
kernel-8d9d122915492ea6984f32e5df30cef5c582f062.zip
docs: kdoc: drop "sectionlist"
Python dicts (as of 3.7) are guaranteed to remember the insertion order of items, so we do not need a separate list for that purpose. Drop the per-entry sectionlist variable and just rely on native dict ordering. Reviewed-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_item.py')
0 files changed, 0 insertions, 0 deletions