From 10ce7f45cd367674e41bbced3aedf523139bc4db Mon Sep 17 00:00:00 2001 From: Eugene Syromiatnikov Date: Mon, 7 Jul 2025 15:00:17 +0200 Subject: [PATCH] crypto/threads_lock_contention: Remove duplicating code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Eugene Syromiatnikov Reviewed-by: Neil Horman Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/27983) --- crypto/threads_pthread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c index 338c1fb185..2a3d5cff25 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); -- 2.47.2