]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5357fa5ea586c85552110d1e349026a707123f86
treee968793b9f7fb3ba15de80a69e9e7037873c4a97
parent5641cb23f9dae46a705efa6718da6d22103b64ad
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