From 933d6a5322b92353093ad86c384c9ff267342c22 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 9 Nov 2012 14:03:58 +1100 Subject: [PATCH] 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 --- mm/rmap.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.39.5