On 03/26/2012 07:18 PM, Boaz Harrosh wrote:

> 
> 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]
> 


I get this on today's linus tree. If a fix is already queued please ignore

Thanks
Boaz

> Signed-Signed-off-by: Boaz Harrosh <bharr...@panasas.com>
> ---
>  arch/um/kernel/skas/mmu.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/um/kernel/skas/mmu.c b/arch/um/kernel/skas/mmu.c
> index 4947b31..0a49ef0 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)



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to