um: uml_setup_stubs': warning: unused variable 'pages'
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 27 Mar 2012 02:18:22 +0000 (19:18 -0700)
committerRichard Weinberger <richard@nod.at>
Mon, 9 Apr 2012 22:13:45 +0000 (00:13 +0200)
Fix the following gcc complain
arch/um/kernel/skas/mmu.c: In function 'uml_setup_stubs':
arch/um/kernel/skas/mmu.c:106:16: warning: unused variable 'pages' [-Wunused-variable]

Signed-Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/skas/mmu.c

index 4947b319f53ad7d1359631bf3ae09e0e38731b12..0a49ef0c2bf48995cb063ea425a10b91d11c8c96 100644 (file)
@@ -103,7 +103,6 @@ int init_new_context(struct task_struct *task, struct mm_struct *mm)
 
 void uml_setup_stubs(struct mm_struct *mm)
 {
-       struct page **pages;
        int err, ret;
 
        if (!skas_needs_stub)