···128128129129 cache = info->cache;130130 trace->entries = cache->entries;131131-132132- if (cache->nr_entries) {133133- /*134134- * The user stack has already been previously unwound in this135135- * entry context. Skip the unwind and use the cache.136136- */137137- trace->nr = cache->nr_entries;131131+ trace->nr = cache->nr_entries;132132+ /*133133+ * The user stack has already been previously unwound in this134134+ * entry context. Skip the unwind and use the cache.135135+ */136136+ if (trace->nr)138137 return 0;139139- }140138141141- trace->nr = 0;142139 unwind_user(trace, UNWIND_MAX_ENTRIES);143140144141 cache->nr_entries = trace->nr;