From: Andrew Morton Date: Thu, 25 Oct 2012 23:44:34 +0000 (+1100) Subject: mm-introduce-mm_find_pmd-fix X-Git-Tag: next-20121029~1^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4c8b1d3238cb783dfab022ef89b69d199bd5ed9e;p=karo-tx-linux.git mm-introduce-mm_find_pmd-fix mm/rmap.c: In function 'try_to_unmap_cluster': mm/rmap.c:1364:9: warning: unused variable 'pud' [-Wunused-variable] mm/rmap.c:1363:9: warning: unused variable 'pgd' [-Wunused-variable] Cc: Andrea Arcangeli Cc: Bob Liu Cc: Michal Hocko Cc: Minchan Kim Cc: Ni zhan Chen Reported-by: Stephen Rothwell Signed-off-by: Andrew Morton --- diff --git a/mm/rmap.c b/mm/rmap.c index 6c686c2bd5d4..98b100e999bf 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1360,8 +1360,6 @@ static int try_to_unmap_cluster(unsigned long cursor, unsigned int *mapcount, struct vm_area_struct *vma, struct page *check_page) { struct mm_struct *mm = vma->vm_mm; - pgd_t *pgd; - pud_t *pud; pmd_t *pmd; pte_t *pte; pte_t pteval;