summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/kernel/stacktrace.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2019-06-02 08:46:11 +0200
committerYoshinori Sato <ysato@users.sourceforge.jp>2019-06-02 08:46:11 +0200
commit860dbce3d8dd90cb9e909c58fa79808766243651 (patch)
treef68920c82fa779ae37bbce08a58259e5c3934ab3 /arch/unicore32/kernel/stacktrace.c
parentFix allyesconfig output. (diff)
parentMerge tag 'nfsd-5.2-1' of git://linux-nfs.org/~bfields/linux (diff)
downloadlinux-860dbce3d8dd90cb9e909c58fa79808766243651.tar.xz
linux-860dbce3d8dd90cb9e909c58fa79808766243651.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
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)