Browse Source

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 years ago
parent
commit
e3cd7f013b
1 changed files with 0 additions and 1 deletions
  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++;
 	}
 }