]> Git Repo - linux.git/commitdiff
metag/mm: Drop pointless increment
authorJames Hogan <[email protected]>
Wed, 3 May 2017 08:54:20 +0000 (09:54 +0100)
committerJames Hogan <[email protected]>
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 <[email protected]>
Signed-off-by: James Hogan <[email protected]>
arch/metag/mm/mmu-meta1.c

index 91f4255bcb5c16e8daa25faecf377f73a7f27b9c..62ebab90924d358016c174cc19786f0ab53dc657 100644 (file)
@@ -152,6 +152,5 @@ void __init mmu_init(unsigned long mem_end)
 
                p_swapper_pg_dir++;
                addr += PGDIR_SIZE;
-               entry++;
        }
 }
This page took 0.055684 seconds and 4 git commands to generate.