projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76b278e
)
um: uml_setup_stubs': warning: unused variable 'pages'
author
Boaz Harrosh
<
[email protected]
>
Tue, 27 Mar 2012 02:18:22 +0000
(19:18 -0700)
committer
Richard Weinberger
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Richard Weinberger <
[email protected]
>
arch/um/kernel/skas/mmu.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/skas/mmu.c
b/arch/um/kernel/skas/mmu.c
index 4947b319f53ad7d1359631bf3ae09e0e38731b12..0a49ef0c2bf48995cb063ea425a10b91d11c8c96 100644
(file)
--- 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)