docs: kdoc: remove the inline states-within-a-state
authorJonathan Corbet <corbet@lwn.net>
Fri, 27 Jun 2025 17:33:18 +0000 (11:33 -0600)
committerJonathan Corbet <corbet@lwn.net>
Fri, 27 Jun 2025 17:33:18 +0000 (11:33 -0600)
commit096f73ab01b95aaeaa7f678c56257d2e4c8490d3
treee32786b13bad97fd1dbb8ef22694c86fbb1fb3c1
parentdd49aae52b5e03bc151c65f0e8ee1731fdd73c0a
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.

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