]> www.infradead.org Git - users/willy/linux.git/commitdiff
docs: kdoc: remove the INLINE_END state
authorJonathan Corbet <corbet@lwn.net>
Fri, 27 Jun 2025 18:39:58 +0000 (12:39 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 1 Jul 2025 19:11:58 +0000 (13:11 -0600)
It is never used, so just get rid of it.

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-7-corbet@lwn.net
scripts/lib/kdoc/kdoc_parser.py

index 734b908579c3c411ffa4c483a388984ea0df7e5a..03a0e44707a7c439679efa38f0a7d35f29af6a5f 100644 (file)
@@ -108,8 +108,7 @@ class state:
     INLINE_NA     = 0 # not applicable ($state != INLINE)
     INLINE_NAME   = 1 # looking for member name (@foo:)
     INLINE_TEXT   = 2 # looking for member documentation
-    INLINE_END    = 3 # done
-    INLINE_ERROR  = 4 # error - Comment without header was found.
+    INLINE_ERROR  = 3 # error - Comment without header was found.
                       # Spit a warning as it's not
                       # proper kernel-doc and ignore the rest.
 
@@ -117,7 +116,6 @@ class state:
         "",
         "_NAME",
         "_TEXT",
-        "_END",
         "_ERROR",
     ]