[merged] mm-mlockc-drop-unneeded-initialization-in-munlock_vma_pages_range.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/mlock.c: drop unneeded initialization in munlock_vma_pages_range()
has been removed from the -mm tree.  Its filename was
     mm-mlockc-drop-unneeded-initialization-in-munlock_vma_pages_range.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Alexey Klimov <klimov.linux@xxxxxxxxx>
Subject: 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@xxxxxxxxx>
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/mlock.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/mlock.c~mm-mlockc-drop-unneeded-initialization-in-munlock_vma_pages_range mm/mlock.c
--- a/mm/mlock.c~mm-mlockc-drop-unneeded-initialization-in-munlock_vma_pages_range
+++ a/mm/mlock.c
@@ -425,7 +425,7 @@ void munlock_vma_pages_range(struct vm_a
 	vma->vm_flags &= VM_LOCKED_CLEAR_MASK;
 
 	while (start < end) {
-		struct page *page = NULL;
+		struct page *page;
 		unsigned int page_mask;
 		unsigned long page_increm;
 		struct pagevec pvec;
_

Patches currently in -mm which might be from klimov.linux@xxxxxxxxx are


--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux