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>
This commit is contained in:
Jonathan Corbet
2025-07-01 15:54:09 -06:00
parent 60016e0116
commit 703f9074a8
2 changed files with 3 additions and 3 deletions

View File

@@ -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))