mirror of https://github.com/openssl/openssl.git
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:
parent
e3d98f5bd4
commit
10ce7f45cd
|
@ -733,7 +733,6 @@ static ossl_inline int ossl_rwlock_rdlock(pthread_rwlock_t *lock)
|
|||
return ret;
|
||||
}
|
||||
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].strings = backtrace_symbols(buffer,
|
||||
traces->stacks[traces->idx].nptrs);
|
||||
|
|
Loading…
Reference in New Issue