All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: Remove start_addr of unused variable
@ 2012-11-14  5:24 Nobuhiro Iwamatsu
  0 siblings, 0 replies; only message in thread
From: Nobuhiro Iwamatsu @ 2012-11-14  5:24 UTC (permalink / raw)
  To: linux-sh

This revises compile error following.

----
cc1: warnings being treated as errors
arch/sh/mm/mmap.c: In function 'arch_get_unmapped_area':
arch/sh/mm/mmap.c:38: error: unused variable 'start_addr'
make[1]: *** [arch/sh/mm/mmap.o] Error 1
make: *** [arch/sh/mm] Error 2
----

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
 arch/sh/mm/mmap.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/sh/mm/mmap.c b/arch/sh/mm/mmap.c
index cb2d66f..6777177 100644
--- a/arch/sh/mm/mmap.c
+++ b/arch/sh/mm/mmap.c
@@ -35,7 +35,6 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
 {
 	struct mm_struct *mm = current->mm;
 	struct vm_area_struct *vma;
-	unsigned long start_addr;
 	int do_colour_align;
 	struct vm_unmapped_area_info info;
 
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-14  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-14  5:24 [PATCH] sh: Remove start_addr of unused variable Nobuhiro Iwamatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.