The patch titled Subject: mm: vma_adjust: remove superfluous check for next not NULL has been added to the -mm tree. Its filename is mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrea Arcangeli <aarcange@xxxxxxxxxx> 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@xxxxxxxxxx Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Cc: Jan Vorlicek <janvorli@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 @@ -699,7 +699,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@xxxxxxxxxx are mm-vma_merge-fix-vm_page_prot-smp-race-condition-against-rmap_walk.patch mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch -- 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