summaryrefslogtreecommitdiffstats
path: root/arch/metag/mm/mmu-meta1.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-05-03 09:54:20 +0100
committerJames Hogan <james.hogan@imgtec.com>2017-05-03 09:56:04 +0100
commite3cd7f013bac3105d44b8bd5a90359989d45b5a5 (patch)
tree148f8bbddee584ddc92215fc89bca377ae28a8bc /arch/metag/mm/mmu-meta1.c
parent3a158a62da0673db918b53ac1440845a5b64fd90 (diff)
downloadop-kernel-dev-e3cd7f013bac3105d44b8bd5a90359989d45b5a5.zip
op-kernel-dev-e3cd7f013bac3105d44b8bd5a90359989d45b5a5.tar.gz
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>
Diffstat (limited to 'arch/metag/mm/mmu-meta1.c')
-rw-r--r--arch/metag/mm/mmu-meta1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/metag/mm/mmu-meta1.c b/arch/metag/mm/mmu-meta1.c
index 91f4255..62ebab9 100644
--- a/arch/metag/mm/mmu-meta1.c
+++ b/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++;
}
}
OpenPOWER on IntegriCloud