From: James Hogan Date: Wed, 3 May 2017 08:54:20 +0000 (+0100) Subject: metag/mm: Drop pointless increment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e3cd7f013bac3105d44b8bd5a90359989d45b5a5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: James Hogan --- 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++; } }