]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: kdoc: tighten up the push_parameter() no-type case
authorJonathan Corbet <corbet@lwn.net>
Thu, 4 Sep 2025 20:01:20 +0000 (14:01 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Sep 2025 16:19:53 +0000 (10:19 -0600)
commite214cca38f1f35d42e63e990c610c96f993343c4
tree4a8b937203e1d641d45bd330336d9c87bdb56866
parent8b00d6fe96960aaba1b923d4a8c1ddb173c9c1ff
docs: kdoc: tighten up the push_parameter() no-type case

The handling of untyped parameters involved a number of redundant tests;
restructure the code to remove them and be more compact.

No output changes.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/lib/kdoc/kdoc_parser.py