From: akpm@linux-foundation.org Subject: [merged] mm-vma_adjust-remove-superfluous-check-for-next-not-null.patch removed from -mm tree Date: Mon, 10 Oct 2016 15:46:15 -0700 Message-ID: <57fc1a37.G+CGu0mOOeS2TmxN%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:37240 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752344AbcJJWqQ (ORCPT ); Mon, 10 Oct 2016 18:46:16 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: aarcange@redhat.com, hughd@google.com, janvorli@microsoft.com, mgorman@techsingularity.net, riel@redhat.com, mm-commits@vger.kernel.org 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 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 Cc: Rik van Riel Cc: Hugh Dickins Cc: Mel Gorman Cc: Jan Vorlicek Signed-off-by: Andrew Morton --- 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