metag/mm: Drop pointless increment
authorJames Hogan <james.hogan@imgtec.com>
Wed, 3 May 2017 08:54:20 +0000 (09:54 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Wed, 3 May 2017 08:56:04 +0000 (09:56 +0100)
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>
arch/metag/mm/mmu-meta1.c

index 91f4255bcb5c16e8daa25faecf377f73a7f27b9c..62ebab90924d358016c174cc19786f0ab53dc657 100644 (file)
@@ -152,6 +152,5 @@ void __init mmu_init(unsigned long mem_end)
 
                p_swapper_pg_dir++;
                addr += PGDIR_SIZE;
-               entry++;
        }
 }