Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3abd4f9 authored by Thiago Farina's avatar Thiago Farina Committed by Linus Torvalds
Browse files

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: default avatarThiago Farina <tfransosi@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9c03c383
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);