Re: [PATCH 01/13] arm: debug: remove obsolete debug code for DEBUG_ZTE_ZX

From: Arnd Bergmann
Date: Thu Oct 28 2021 - 10:38:30 EST


On Thu, Oct 28, 2021 at 4:19 PM Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> wrote:
>
> Commit 89d4f98ae90d ("ARM: remove zte zx platform") removes the config
> DEBUG_ZTE_ZX. Hence, since then, the "ifdef CONFIG_DEBUG_ZTE_ZX" in
> ./arch/arm/include/debug/pl01x.S is dead code.
>
> Fortunately, ./scripts/checkkconfigsymbols.py detects this and warns:
>
> DEBUG_ZTE_ZX
> Referencing files: arch/arm/include/debug/pl01x.S
>
> So, remove the obsolete ifdef CONFIG_DEBUG_ZTE_ZX.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>

I see another copy of these constants in drivers/tty/serial/amba-pl011.c,
which we should probably clean up as well.

Arnd