Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: kdoc: remove redundant comment stripping

By the time stuff gets to create_parameter_list(), comments have long since
been stripped out, so we do not need to do it again here.

Acked-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250814154035.328769-8-corbet@lwn.net

-3
-3
scripts/lib/kdoc/kdoc_parser.py
··· 493 493 args = arg_expr.sub(r"\1#", args) 494 494 495 495 for arg in args.split(splitter): 496 - # Strip comments 497 - arg = KernRe(r'/\*.*\*/').sub('', arg) 498 - 499 496 # Ignore argument attributes 500 497 arg = KernRe(r'\sPOS0?\s').sub(' ', arg) 501 498