Skip to contentSkip to conversation

x86: mm: Remove the alwalys zero if test

PATCH New Zhang Yanfei 1 participant 1 message May 8, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: mm: Remove the alwalys zero if test

This if test seems useless now, so remove it.

---
 arch/x86/mm/init_64.c |    3 --- 
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/x86/mm/init_64.c +0 -3
index bb00c46..d1238fe 100644
@@ -431,9 +431,6 @@ phys_pte_init(pte_t *pte_page, unsigned long addr, unsigned long end,
                        continue;
                }   
 
-               if (0)
-                       printk("   pte=%p addr=%lx pte=%016lx\n",
-                              pte, addr, pfn_pte(addr >> PAGE_SHIFT, PAGE_KERNEL).pte);
                pages++;
                set_pte(pte, pfn_pte(addr >> PAGE_SHIFT, prot));
                last_map_addr = (addr & PAGE_MASK) + PAGE_SIZE;
Signature · 1 line
1.7.1