提交 657b12d3 编写于 作者: B Boaz Harrosh 提交者: Richard Weinberger

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: NBoaz Harrosh <bharrosh@panasas.com>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 76b278ed
...@@ -103,7 +103,6 @@ int init_new_context(struct task_struct *task, struct mm_struct *mm) ...@@ -103,7 +103,6 @@ int init_new_context(struct task_struct *task, struct mm_struct *mm)
void uml_setup_stubs(struct mm_struct *mm) void uml_setup_stubs(struct mm_struct *mm)
{ {
struct page **pages;
int err, ret; int err, ret;
if (!skas_needs_stub) if (!skas_needs_stub)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册