* [merged] mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch removed from -mm tree
@ 2016-10-10 22:46 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-10-10 22:46 UTC (permalink / raw)
To: aarcange, hughd, janvorli, mgorman, riel, mm-commits
The patch titled
Subject: mm: vma_adjust: remove superfluous check for next not NULL
has been removed from the -mm tree. Its filename was
mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Andrea Arcangeli <aarcange@redhat.com>
Subject: mm: vma_adjust: remove superfluous check for next not NULL
If next would be NULL we couldn't reach such code path.
Link: http://lkml.kernel.org/r/1474309513-20313-2-git-send-email-aarcange@redhat.com
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Jan Vorlicek <janvorli@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/mmap.c~mm-vma_adjust-remove-superfluous-check-for-next-not-null mm/mmap.c
--- a/mm/mmap.c~mm-vma_adjust-remove-superfluous-check-for-next-not-null
+++ a/mm/mmap.c
@@ -706,7 +706,7 @@ int __vma_adjust(struct vm_area_struct *
* If next doesn't have anon_vma, import from vma after
* next, if the vma overlaps with it.
*/
- if (remove_next == 2 && next && !next->anon_vma)
+ if (remove_next == 2 && !next->anon_vma)
exporter = next->vm_next;
} else if (end > next->vm_start) {
_
Patches currently in -mm which might be from aarcange@redhat.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-10 22:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-10 22:46 [merged] mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).