|
@@ -1189,7 +1189,7 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p)
|
|
|
|
|
|
if (unlikely(wo->wo_flags & WNOWAIT)) {
|
|
if (unlikely(wo->wo_flags & WNOWAIT)) {
|
|
int exit_code = p->exit_code;
|
|
int exit_code = p->exit_code;
|
|
- int why, status;
|
|
|
|
|
|
+ int why;
|
|
|
|
|
|
get_task_struct(p);
|
|
get_task_struct(p);
|
|
read_unlock(&tasklist_lock);
|
|
read_unlock(&tasklist_lock);
|