From: Eugene Syromiatnikov Date: Mon, 7 Jul 2025 13:00:17 +0000 (+0200) Subject: crypto/threads_lock_contention: Remove duplicating code X-Git-Tag: openssl-3.6.0-alpha1~259 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10ce7f45cd367674e41bbced3aedf523139bc4db;p=thirdparty%2Fopenssl.git crypto/threads_lock_contention: Remove duplicating code Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/27983) --- diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c index 338c1fb1856..2a3d5cff25d 100644 --- a/crypto/threads_pthread.c +++ b/crypto/threads_pthread.c @@ -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);