Fix build warning in try_to_unmap_cluster() as below: 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] This build warning is introduced by commit 0981230 "mm: introduce mm_find_pmd()". Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx> Cc: Bob Liu <lliubbo@xxxxxxxxx> --- This patch is based on linux-next-20121025 code tree. mm/rmap.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/mm/rmap.c b/mm/rmap.c index 6c686c2..98b100e 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; -- 1.7.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>