Message ID | 20190604061957.18704-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | e6c4375f7c9293ffa65469d16f8ebd2586cb03f2 |
Headers | show |
Series | ARM: mm: remove unused variables | expand |
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index be0b42937888..c71ecbb04db8 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 */