diff options
author | Jonathan Corbet <corbet@lwn.net> | 2025-07-01 15:54:09 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-07-02 14:14:31 -0600 |
commit | 703f9074a8e10ac3fe939025233acb7c47529608 (patch) | |
tree | a0da0a1e1ccff75d145cfcc4d1e9e2fd5d802167 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 60016e0116b8d33f95e797b011799e717766ec13 (diff) |
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 <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
-rw-r--r-- | scripts/lib/kdoc/kdoc_parser.py | 2 |
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)) |