aboutsummaryrefslogtreecommitdiffstats
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
parentmetag/uaccess: Check access_ok in strncpy_from_user (diff)
downloadlinux-dev-e3cd7f013bac3105d44b8bd5a90359989d45b5a5.tar.xz
linux-dev-e3cd7f013bac3105d44b8bd5a90359989d45b5a5.zip
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>
-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 91f4255bcb5c..62ebab90924d 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++;
}
}