* [GIT PULL] x86/debug change for v3.15
@ 2014-03-31 14:29 Ingo Molnar
0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2014-03-31 14:29 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, H. Peter Anvin, Thomas Gleixner, Andrew Morton
Linus,
Please pull the latest x86-debug-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-debug-for-linus
# HEAD: 7743a536beda6225eef4a0758c5370f761fb0616 i386: Remove unneeded test of 'task' in dump_trace() (again)
A single trivial cleanup.
Thanks,
Ingo
------------------>
Steven Rostedt (1):
i386: Remove unneeded test of 'task' in dump_trace() (again)
arch/x86/kernel/dumpstack_32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/dumpstack_32.c b/arch/x86/kernel/dumpstack_32.c
index f2a1770..a21d49c 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,
unsigned long dummy;
stack = &dummy;
- if (task && task != current)
+ if (task != current)
stack = (unsigned long *)task->thread.sp;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-31 14:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 14:29 [GIT PULL] x86/debug change for v3.15 Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox