docs: kdoc: remove the "struct_actual" machinery
authorJonathan Corbet <corbet@lwn.net>
Wed, 2 Jul 2025 17:04:43 +0000 (11:04 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 15 Jul 2025 19:43:16 +0000 (13:43 -0600)
commit172bee3376ab29fbf38b09bf01d6f06f7f6c39e1
treea5edf047eb93d0daba09ab73d00fdee2ca75963e
parent8d7338752d76c3854a5c54cf7df976c539baab5b
docs: kdoc: remove the "struct_actual" machinery

The code goes out of its way to create a special list of parameters in
entry.struct_actual that is just like entry.parameterlist, but with extra
junk.  The only use of that information, in check_sections(), promptly
strips all the extra junk back out.  Drop all that extra work and just use
parameterlist.

No output changes.

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