aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorJonathan Corbet <[email protected]>2025-07-01 21:54:09 +0000
committerJonathan Corbet <[email protected]>2025-07-02 20:14:31 +0000
commit703f9074a8e10ac3fe939025233acb7c47529608 (patch)
treea0da0a1e1ccff75d145cfcc4d1e9e2fd5d802167 /scripts/lib/kdoc/kdoc_parser.py
parentdocs: kdoc; Add a rudimentary class to represent output items (diff)
downloadkernel-703f9074a8e10ac3fe939025233acb7c47529608.tar.gz
kernel-703f9074a8e10ac3fe939025233acb7c47529608.zip
docs: kdoc: simplify the output-item passing
Since our output items contain their name, we don't need to pass it separately. Reviewed-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
-rw-r--r--scripts/lib/kdoc/kdoc_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/kdoc/kdoc_parser.py b/scripts/lib/kdoc/kdoc_parser.py
index a5a59b97a444..97380ff30a0d 100644
--- a/scripts/lib/kdoc/kdoc_parser.py
+++ b/scripts/lib/kdoc/kdoc_parser.py
@@ -284,7 +284,7 @@ class KernelDoc:
del sections[section]
sectionlist.remove(section)
- self.entries.append((name, item))
+ self.entries.append(item)
self.config.log.debug("Output: %s:%s = %s", dtype, name, pformat(args))