Patchwork [18/18] sparc32: delete dead code in show_mem()

login
register
mail settings
Submitter Sam Ravnborg
Date July 26, 2012, 9:02 p.m.
Message ID <1343336548-3879-18-git-send-email-sam@ravnborg.org>
Download mbox | patch
Permalink /patch/173516/
State Accepted
Delegated to: David Miller
Headers show

Comments

Sam Ravnborg - July 26, 2012, 9:02 p.m.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
 arch/sparc/mm/init_32.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

Patch

diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c
index 9f1162f..dde85ef 100644
--- a/arch/sparc/mm/init_32.c
+++ b/arch/sparc/mm/init_32.c
@@ -60,13 +60,6 @@  void show_mem(unsigned int filter)
 	       nr_swap_pages << (PAGE_SHIFT-10));
 	printk("%ld pages of RAM\n", totalram_pages);
 	printk("%ld free pages\n", nr_free_pages());
-#if 0 /* undefined pgtable_cache_size, pgd_cache_size */
-	printk("%ld pages in page table cache\n",pgtable_cache_size);
-#ifndef CONFIG_SMP
-	if (sparc_cpu_model == sun4m || sparc_cpu_model == sun4d)
-		printk("%ld entries in page dir cache\n",pgd_cache_size);
-#endif	
-#endif
 }