Re: [PATCH] ARM: mm: remove unused variables

From: Geert Uytterhoeven
Date: Mon May 13 2019 - 02:22:48 EST


On Sun, May 12, 2019 at 1:48 PM YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
> Fix gcc warnings:
>
> arch/arm/mm/init.c: In function 'mem_init':
> arch/arm/mm/init.c:456:13: warning: unused variable 'itcm_end' [-Wunused-variable]
> extern u32 itcm_end;
> ^
> arch/arm/mm/init.c:455:13: warning: unused variable 'dtcm_end' [-Wunused-variable]
> extern u32 dtcm_end;
> ^
>
> They are not used any more since
> commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")

Thanks! Sorry for missing that.

> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds