Skip to contentSkip to conversation

x86/debug change for v3.15

GIT PULL Ingo Molnar 1 participant 1 message Mar 31, 2014 x86

lore
Share & tools
lore
#0 lore raw

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(-)
arch/x86/kernel/dumpstack_32.c +1 -1
index f2a1770..a21d49c 100644
@@ -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;
 	}