]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-introduce-mm_find_pmd-fix
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 3 Nov 2012 00:42:14 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Nov 2012 04:53:09 +0000 (15:53 +1100)
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 <aarcange@redhat.com>
Cc: Bob Liu <lliubbo@gmail.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Ni zhan Chen <nizhan.chen@gmail.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/rmap.c

index 62a4a8cb8879c20e03ad28fb27c5a43fc0559118..46823fb0e801b599178f8bd548437fa03d87b8ef 100644 (file)
--- 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;