From 1e39aacd9ecb70cb63e8ff28bb9de48e87b4ddd5 Mon Sep 17 00:00:00 2001 From: Rik van Riel Date: Fri, 5 Mar 2010 13:42:08 -0800 Subject: [PATCH] --- yaml --- r: 186210 b: refs/heads/master c: 033a64b56aed798991de18d226085dfb1ccd858d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/mm/rmap.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 8b2df904042c..689d862a3f3a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5beb49305251e5669852ed541e8e2f2f7696c53e +refs/heads/master: 033a64b56aed798991de18d226085dfb1ccd858d diff --git a/trunk/mm/rmap.c b/trunk/mm/rmap.c index be34094e4595..23ecd0a892df 100644 --- a/trunk/mm/rmap.c +++ b/trunk/mm/rmap.c @@ -754,9 +754,6 @@ static void __page_check_anon_rmap(struct page *page, * are initially only visible via the pagetables, and the pte is locked * over the call to page_add_new_anon_rmap. */ - struct anon_vma *anon_vma = vma->anon_vma; - anon_vma = (void *) anon_vma + PAGE_MAPPING_ANON; - BUG_ON(page->mapping != (struct address_space *)anon_vma); BUG_ON(page->index != linear_page_index(vma, address)); #endif }