[PATCH 01/13] arm: debug: remove obsolete debug code for DEBUG_ZTE_ZX
Arnd Bergmann
arnd at arndb.de
Fri Oct 29 01:38:08 AEDT 2021
On Thu, Oct 28, 2021 at 4:19 PM Lukas Bulwahn <lukas.bulwahn at gmail.com> 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 at gmail.com>
Reviewed-by: Arnd Bergmann <arnd at arndb.de>
I see another copy of these constants in drivers/tty/serial/amba-pl011.c,
which we should probably clean up as well.
Arnd
More information about the openbmc
mailing list