]> www.infradead.org Git - users/willy/xarray.git/commit
scripts/kernel-doc: drop dead code for Wcontents_before_sections
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2025 09:08:12 +0000 (10:08 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 4 Mar 2025 16:47:42 +0000 (09:47 -0700)
commit19b100b0116d703b9529f7bbbf797428de51816a
tree66f1e31a211f05a33f40f12a9cf7c26809e6f870
parentb9609ecba35ecf7fa85d9bcd519242009174e6a2
scripts/kernel-doc: drop dead code for Wcontents_before_sections

There is a warning about contents before sections, which doesn't
work, since in_doc_sect variable is always true at the point
it is checked.

Drop the dead code.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/174a15607fd057c736dc9123c53d0835ce20e68b.1740387599.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc