aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorJonathan Corbet <[email protected]>2025-06-27 18:39:58 +0000
committerJonathan Corbet <[email protected]>2025-07-01 19:11:58 +0000
commit388f4da27c4eaa2813259bcfbfc9b94ac8754902 (patch)
tree1e39f05db2f73989cb0d418a804426cac4dc132e /scripts/lib/kdoc/kdoc_parser.py
parentdocs: kdoc: rework process_export() slightly (diff)
downloadkernel-388f4da27c4eaa2813259bcfbfc9b94ac8754902.tar.gz
kernel-388f4da27c4eaa2813259bcfbfc9b94ac8754902.zip
docs: kdoc: remove the INLINE_END state
It is never used, so just get rid of it. Reviewed-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
-rw-r--r--scripts/lib/kdoc/kdoc_parser.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/kdoc/kdoc_parser.py b/scripts/lib/kdoc/kdoc_parser.py
index 734b908579c3..03a0e44707a7 100644
--- a/scripts/lib/kdoc/kdoc_parser.py
+++ b/scripts/lib/kdoc/kdoc_parser.py
@@ -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",
]