diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-03-05 16:42:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 14:26:32 -0500 |
commit | f3abd4f9531becb71626bd206955d47d5ea54f06 (patch) | |
tree | 512d5d72d02f6dae87af66c7e044d597eb7e067c /kernel | |
parent | 9c03c383563f147907f1a90cf16f1e190e2f4aae (diff) |
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 <tfransosi@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1189 | 1189 | ||
1190 | if (unlikely(wo->wo_flags & WNOWAIT)) { | 1190 | if (unlikely(wo->wo_flags & WNOWAIT)) { |
1191 | int exit_code = p->exit_code; | 1191 | int exit_code = p->exit_code; |
1192 | int why, status; | 1192 | int why; |
1193 | 1193 | ||
1194 | get_task_struct(p); | 1194 | get_task_struct(p); |
1195 | read_unlock(&tasklist_lock); | 1195 | read_unlock(&tasklist_lock); |