Skip to content

Commit

Permalink
kernel/exit.c: fix shadows sparse warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
tfarina authored and torvalds committed Mar 6, 2010
1 parent 9c03c38 commit f3abd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f3abd4f

Please sign in to comment.