projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a158a6
)
metag/mm: Drop pointless increment
author
James Hogan
<james.hogan@imgtec.com>
Wed, 3 May 2017 08:54:20 +0000
(09:54 +0100)
committer
James 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/metag/mm/mmu-meta1.c
b/arch/metag/mm/mmu-meta1.c
index 91f4255bcb5c16e8daa25faecf377f73a7f27b9c..62ebab90924d358016c174cc19786f0ab53dc657 100644
(file)
--- 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++;
}
}