From: Andrew Morton Date: Fri, 9 Nov 2012 03:03:58 +0000 (+1100) Subject: mm-introduce-mm_find_pmd-fix X-Git-Tag: next-20121109~9^2~250 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=933d6a5322b92353093ad86c384c9ff267342c22;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 62a4a8cb8879..46823fb0e801 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1357,8 +1357,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;