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....@samsung.com> Cc: Bob Liu <lliu...@gmail.com> --- 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/