diff mbox series

ARM: mm: remove unused dtcm_end / itcm_end

Message ID 87imtc6b79.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
State Mainlined
Commit e6c4375f7c9293ffa65469d16f8ebd2586cb03f2
Headers show
Series ARM: mm: remove unused dtcm_end / itcm_end | expand

Commit Message

Kuninori Morimoto June 11, 2019, 5:43 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual
memory layout") removed last user of dtcm_end / itcm_end.
There is no user of these, let's remove.

Fixes: commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/mm/init.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Geert Uytterhoeven June 11, 2019, 7:28 a.m. UTC | #1
Hi Morimoto-san,

On Tue, Jun 11, 2019 at 7:43 AM Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual
> memory layout") removed last user of dtcm_end / itcm_end.
> There is no user of these, let's remove.
>
> Fixes: commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Thanks for your patch, but this is a duplicate of
"[PATCH] ARM: mm: remove unused variables"
https://lore.kernel.org/lkml/20190512114105.41792-1-yuehaibing@huawei.com/

Gr{oetje,eeting}s,

                        Geert
Kuninori Morimoto June 11, 2019, 8:40 a.m. UTC | #2
Hi Geert

> > From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> >
> > commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual
> > memory layout") removed last user of dtcm_end / itcm_end.
> > There is no user of these, let's remove.
> >
> > Fixes: commit 1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Thanks for your patch, but this is a duplicate of
> "[PATCH] ARM: mm: remove unused variables"
> https://lore.kernel.org/lkml/20190512114105.41792-1-yuehaibing@huawei.com/

OK, nice to know.
I couldn't find it at linux-next

Thank you for your help !!
Best regards
---
Kuninori Morimoto
diff mbox series

Patch

diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index be0b429..c71ecbb 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -450,12 +450,6 @@  static void __init free_highpages(void)
  */
 void __init mem_init(void)
 {
-#ifdef CONFIG_HAVE_TCM
-	/* These pointers are filled in on TCM detection */
-	extern u32 dtcm_end;
-	extern u32 itcm_end;
-#endif
-
 	set_max_mapnr(pfn_to_page(max_pfn) - mem_map);
 
 	/* this will put all unused low memory onto the freelists */