From: Thiago Farina Date: Fri, 5 Mar 2010 21:42:52 +0000 (-0800) Subject: kernel/exit.c: fix shadows sparse warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f3abd4f9531becb71626bd206955d47d5ea54f06;p=openwrt%2Fstaging%2Fblogic.git kernel/exit.c: fix shadows sparse warning kernel/exit.c:1183:26: warning: symbol 'status' shadows an earlier one kernel/exit.c:1173:21: originally declared here Signed-off-by: Thiago Farina Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/exit.c b/kernel/exit.c index 10d3c5d5ae44..ce1e48c2d93d 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -1189,7 +1189,7 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p) if (unlikely(wo->wo_flags & WNOWAIT)) { int exit_code = p->exit_code; - int why, status; + int why; get_task_struct(p); read_unlock(&tasklist_lock);