Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: kdoc: remove KernelEntry::in_doc_sect

This field is not used for anything, 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-2-corbet@lwn.net

-4
-4
scripts/lib/kdoc/kdoc_parser.py
··· 151 151 152 152 # State flags 153 153 self.brcount = 0 154 - 155 - self.in_doc_sect = False 156 154 self.declaration_start_line = ln + 1 157 155 158 156 # TODO: rename to emit_message after removal of kernel-doc.pl ··· 1225 1227 1226 1228 # start a new entry 1227 1229 self.reset_state(ln) 1228 - self.entry.in_doc_sect = False 1229 1230 1230 1231 # next line is always the function name 1231 1232 self.state = state.NAME ··· 1312 1315 # 1313 1316 def is_new_section(self, ln, line): 1314 1317 if doc_sect.search(line): 1315 - self.entry.in_doc_sect = True 1316 1318 self.state = state.BODY 1317 1319 # 1318 1320 # Pick out the name of our new section, tweaking it if need be.