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)
This commit is contained in:
Linus Torvalds 2014-03-31 12:25:28 -07:00
commit ad8946fbf9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}