summaryrefslogtreecommitdiff
path: root/arch/unicore32/kernel/stacktrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/kernel/stacktrace.c')
-rw-r--r--arch/unicore32/kernel/stacktrace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/unicore32/kernel/stacktrace.c b/arch/unicore32/kernel/stacktrace.c
index 9976e767d51c..e37da8c6837b 100644
--- a/arch/unicore32/kernel/stacktrace.c
+++ b/arch/unicore32/kernel/stacktrace.c
@@ -120,8 +120,6 @@ void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace)
}
walk_stackframe(&frame, save_trace, &data);
- if (trace->nr_entries < trace->max_entries)
- trace->entries[trace->nr_entries++] = ULONG_MAX;
}
void save_stack_trace(struct stack_trace *trace)