]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - arch/x86/kernel/dumpstack_64.c
Merge branches 'core-urgent-for-linus', 'perf-urgent-for-linus', 'sched-urgent-for...
[~shefty/rdma-dev.git] / arch / x86 / kernel / dumpstack_64.c
index 42b2bca0b72ca6aa14e01891cc3903d4d1a27cba..17107bd6e1f0af06b5e59b1c48d452305a8b3214 100644 (file)
@@ -129,7 +129,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs,
        if (!stack) {
                if (regs)
                        stack = (unsigned long *)regs->sp;
-               else if (task && task != current)
+               else if (task != current)
                        stack = (unsigned long *)task->thread.sp;
                else
                        stack = &dummy;