summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2012-03-26 19:18:22 -0700
committerRichard Weinberger <richard@nod.at>2012-04-10 00:13:45 +0200
commit657b12d3a1508a3f06f7afe21d5dda7252279520 (patch)
tree0f73b718bb8f009bfc605301550ae68d68561ae3
parent76b278edd99fb55525fcf2706095e388bd3d122c (diff)
um: uml_setup_stubs': warning: unused variable 'pages'
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>
-rw-r--r--arch/um/kernel/skas/mmu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c
index 4947b319f53..0a49ef0c2bf 100644
--- a/arch/um/kernel/skas/mmu.c
+++ b/arch/um/kernel/skas/mmu.c
@@ -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)