aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorJonathan Corbet <[email protected]>2025-06-25 21:43:37 +0000
committerJonathan Corbet <[email protected]>2025-06-25 22:50:06 +0000
commit1550a409e778673a63a6957718b802050f98359a (patch)
tree13744c7d230765654fdfaa48fdc29c68f2eccf2f /scripts/lib/kdoc
parentdocs: kdoc: Move content handling into KernelEntry (diff)
downloadkernel-1550a409e778673a63a6957718b802050f98359a.tar.gz
kernel-1550a409e778673a63a6957718b802050f98359a.zip
docs: kdoc: remove a bit of dead code
The type_param regex matches "@..." just fine, so the special-case branch for that in dump_section() is never executed. Just remove it. Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc')
-rw-r--r--scripts/lib/kdoc/kdoc_parser.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/lib/kdoc/kdoc_parser.py b/scripts/lib/kdoc/kdoc_parser.py
index f87355b63c19..9e46cfa20978 100644
--- a/scripts/lib/kdoc/kdoc_parser.py
+++ b/scripts/lib/kdoc/kdoc_parser.py
@@ -207,13 +207,6 @@ class KernelEntry:
self.sectcheck += name + " "
self.new_start_line = 0
- elif name == "@...":
- name = "..."
- self.parameterdescs[name] = contents
- self.sectcheck += name + " "
- self.parameterdesc_start_lines[name] = self.new_start_line
- self.new_start_line = 0
-
else:
if name in self.sections and self.sections[name] != "":
# Only warn on user-specified duplicate section names