docs: kdoc: remove the inline states-within-a-state
authorJonathan Corbet <corbet@lwn.net>
Fri, 27 Jun 2025 18:39:59 +0000 (12:39 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 1 Jul 2025 19:11:58 +0000 (13:11 -0600)
commit8976f993a3aa8c00699ed5cb1bc939e11c88a713
treee32786b13bad97fd1dbb8ef22694c86fbb1fb3c1
parent388f4da27c4eaa2813259bcfbfc9b94ac8754902
docs: kdoc: remove the inline states-within-a-state

The processing of inline kerneldoc comments is a state like the rest, but
it was implemented as a set of separate substates.  Just remove the
substate logic and make the inline states normal ones like the rest.

INLINE_ERROR was never actually used for anything, so just take it out.

No changes to the generated output.

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