]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
docs: kdoc: remove dead code
authorJonathan Corbet <corbet@lwn.net>
Thu, 14 Aug 2025 15:40:29 +0000 (09:40 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 18 Aug 2025 16:19:19 +0000 (10:19 -0600)
commit670ec7333a2c4823ac777b70f045cf731525ae5e
tree6a79f6222c3a60f2bdb5d425e2940575dc48669a
parent6cf5f13ef3f1c032b48fddd4f0f9108236c7762a
docs: kdoc: remove dead code

create_parameter_list() tests an argument against the same regex twice, in
two different locations; remove the pointless extra tests and the
never-executed error cases that go with them.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250814154035.328769-2-corbet@lwn.net
scripts/lib/kdoc/kdoc_parser.py