docs: kdoc: remove the KernelEntry::is_kernel_comment member
authorJonathan Corbet <corbet@lwn.net>
Fri, 6 Jun 2025 16:34:34 +0000 (10:34 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 9 Jun 2025 20:37:17 +0000 (14:37 -0600)
commit8f4650fe1a74e68f5c6715413a5a26aa1564780d
treea2d798b681162f5fb8b5851273690399e528572b
parente76a1d2b2623e9f10e2ffd295ae2615bf3228561
docs: kdoc: remove the KernelEntry::is_kernel_comment member

entry::is_kernel_comment never had anything to do with the entry itself; it
is a bit of local state in one branch of process_name().  It can, in fact,
be removed entirely; rework the code slightly so that it is no longer
needed.

No change in the rendered output.

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