diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-07-11 00:40:12 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-07-11 00:40:11 -0700 |
| commit | dee9c65c16499a0edcec448f5e17e6f46daa30e6 (patch) | |
| tree | 260b62350993baec5ab7f3891a93c19113e8b3bf /lib | |
| parent | 79f2b434d482087a192800f1738012116db9866d (diff) | |
| parent | 81401ebc90b0a7ee0968fdf7f535c501a9a19ed7 (diff) | |
Merge "lib/stackdepot.c: allow the stack trace hash to be zero"
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stackdepot.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/stackdepot.c b/lib/stackdepot.c index 27e183bab0f6..59c0fcde7538 100644 --- a/lib/stackdepot.c +++ b/lib/stackdepot.c @@ -210,10 +210,6 @@ depot_stack_handle_t depot_save_stack(struct stack_trace *trace, goto fast_exit; hash = hash_stack(trace->entries, trace->nr_entries); - /* Bad luck, we won't store this stack. */ - if (hash == 0) - goto exit; - bucket = &stack_table[hash & STACK_HASH_MASK]; /* |
