Re: [PATCH v2 06/39] scripts/kernel-doc: drop dead code for Wcontents_before_sections

From: Jonathan Corbet
Date: Tue Mar 04 2025 - 13:08:26 EST


Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> writes:

> 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@xxxxxxxxxx>
> ---

I've applied patches 1-6, just to lighten the load slightly.

Thanks,

jon