From: Andrew Morton Date: Thu, 29 Nov 2012 03:17:20 +0000 (+1100) Subject: mm-use-vm_unmapped_area-on-sparc32-architecture-fix X-Git-Tag: next-20121205~1^2~319 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c5ab0d20f6f6692f8b7bb352262c4a5f0053a2b7;p=karo-tx-linux.git mm-use-vm_unmapped_area-on-sparc32-architecture-fix arch/sparc/kernel/sys_sparc_32.c: In function 'arch_get_unmapped_area': arch/sparc/kernel/sys_sparc_32.c:41:26: error: unused variable 'vmm' [-Werror=unused-variable] Reported-by: Stephen Rothwell Cc: "David S. Miller" Cc: Michel Lespinasse Signed-off-by: Andrew Morton --- diff --git a/arch/sparc/kernel/sys_sparc_32.c b/arch/sparc/kernel/sys_sparc_32.c index a59bc637f9af..a20b5ab4c701 100644 --- a/arch/sparc/kernel/sys_sparc_32.c +++ b/arch/sparc/kernel/sys_sparc_32.c @@ -38,7 +38,6 @@ asmlinkage unsigned long sys_getpagesize(void) unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) { - struct vm_area_struct * vmm; struct vm_unmapped_area_info info; if (flags & MAP_FIXED) {