Przeglądaj źródła

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 lat temu
rodzic
commit
e3cd7f013b
1 zmienionych plików z 0 dodań i 1 usunięć
  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++;
 	}
 }