diff options
author | James Hogan <james.hogan@imgtec.com> | 2017-05-03 09:54:20 +0100 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2017-05-03 09:56:04 +0100 |
commit | e3cd7f013bac3105d44b8bd5a90359989d45b5a5 (patch) | |
tree | 148f8bbddee584ddc92215fc89bca377ae28a8bc /arch/metag | |
parent | 3a158a62da0673db918b53ac1440845a5b64fd90 (diff) | |
download | op-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')
-rw-r--r-- | arch/metag/mm/mmu-meta1.c | 1 |
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++; } } |