crypto/threads_lock_contention: Remove duplicating code

Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27983)
This commit is contained in:
Eugene Syromiatnikov 2025-07-07 15:00:17 +02:00 committed by Neil Horman
parent e3d98f5bd4
commit 10ce7f45cd
1 changed files with 0 additions and 1 deletions

View File

@ -733,7 +733,6 @@ static ossl_inline int ossl_rwlock_rdlock(pthread_rwlock_t *lock)
return ret; return ret;
} }
end = ossl_time_now(); end = ossl_time_now();
traces->stacks[traces->idx].duration = ossl_time_subtract(end, start);
traces->stacks[traces->idx].nptrs = backtrace(buffer, BT_BUF_SIZE); traces->stacks[traces->idx].nptrs = backtrace(buffer, BT_BUF_SIZE);
traces->stacks[traces->idx].strings = backtrace_symbols(buffer, traces->stacks[traces->idx].strings = backtrace_symbols(buffer,
traces->stacks[traces->idx].nptrs); traces->stacks[traces->idx].nptrs);