Skip to content

Commit ad8946f

Browse files
committed
Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 debug cleanup from Ingo Molnar: "A single trivial cleanup" * 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: i386: Remove unneeded test of 'task' in dump_trace() (again)
2 parents 918d80a + 7743a53 commit ad8946f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/dumpstack_32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs,
3030
unsigned long dummy;
3131

3232
stack = &dummy;
33-
if (task && task != current)
33+
if (task != current)
3434
stack = (unsigned long *)task->thread.sp;
3535
}
3636

0 commit comments

Comments
 (0)