浏览代码

metag/mm: Drop pointless increment

The increment of entry in the loop in mmu_init for meta1 is redundant as
it isn't used again, so drop it.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
James Hogan 8 年之前
父节点
当前提交
e3cd7f013b
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/metag/mm/mmu-meta1.c

+ 0 - 1
arch/metag/mm/mmu-meta1.c

@@ -152,6 +152,5 @@ void __init mmu_init(unsigned long mem_end)
 
 		p_swapper_pg_dir++;
 		addr += PGDIR_SIZE;
-		entry++;
 	}
 }