mm/mlock.c: drop unneeded initialization in munlock_vma_pages_range()
authorAlexey Klimov <klimov.linux@gmail.com>
Thu, 14 Jan 2016 23:18:24 +0000 (15:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commitab7a5af7fd9cc38576b432690367bbabc8da99b2
treee968793b9f7fb3ba15de80a69e9e7037873c4a97
parent5d097056c9a017a3b720849efb5432f37acabbac
mm/mlock.c: drop unneeded initialization in munlock_vma_pages_range()

Before usage page pointer initialized by NULL is reinitialized by
follow_page_mask().  Drop useless init of page pointer in the beginning
of loop.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mlock.c