diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-31 15:25:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-31 15:25:28 -0400 |
commit | ad8946fbf913fff8671cbaee776d23c3d07173fa (patch) | |
tree | e02bb76e425bd8c34445aef5d3ea30021ff57892 | |
parent | 918d80a136430aeb23659aa75f8b415090500667 (diff) | |
parent | 7743a536beda6225eef4a0758c5370f761fb0616 (diff) |
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)
-rw-r--r-- | arch/x86/kernel/dumpstack_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/dumpstack_32.c b/arch/x86/kernel/dumpstack_32.c index f2a1770ca176..a21d49c071db 100644 --- a/arch/x86/kernel/dumpstack_32.c +++ b/arch/x86/kernel/dumpstack_32.c | |||
@@ -30,7 +30,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs, | |||
30 | unsigned long dummy; | 30 | unsigned long dummy; |
31 | 31 | ||
32 | stack = &dummy; | 32 | stack = &dummy; |
33 | if (task && task != current) | 33 | if (task != current) |
34 | stack = (unsigned long *)task->thread.sp; | 34 | stack = (unsigned long *)task->thread.sp; |
35 | } | 35 | } |
36 | 36 | ||