diff options
author | Rich Salz <rsalz@openssl.org> | 2015-01-30 12:46:49 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-01-30 12:46:49 -0500 |
commit | 6f1a93ad111c7dfe36a09a976c4c009079b19ea1 (patch) | |
tree | db4a17ad2c86410d1caac79780892a6ff3786b26 /crypto/threads | |
parent | 2e635aa81cf1c4e3fd7cb0334c79e7d0771140f1 (diff) |
Dead code removal: #if 0 conf, dso, pqueue, threads
Mostly, but not completely, debugging print statements.
Some old logic kept for internal documentation reasons, perhaps.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/threads')
-rw-r--r-- | crypto/threads/th-lock.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/crypto/threads/th-lock.c b/crypto/threads/th-lock.c index 1b5765948a..9a8e90954e 100644 --- a/crypto/threads/th-lock.c +++ b/crypto/threads/th-lock.c @@ -200,18 +200,6 @@ void CRYPTO_thread_cleanup(void) void solaris_locking_callback(int mode, int type, char *file, int line) { -# if 0 - fprintf(stderr, "thread=%4d mode=%s lock=%s %s:%d\n", - CRYPTO_thread_id(), - (mode & CRYPTO_LOCK) ? "l" : "u", - (type & CRYPTO_READ) ? "r" : "w", file, line); -# endif - -# if 0 - if (CRYPTO_LOCK_SSL_CERT == type) - fprintf(stderr, "(t,m,f,l) %ld %d %s %d\n", - CRYPTO_thread_id(), mode, file, line); -# endif if (mode & CRYPTO_LOCK) { # ifdef USE_MUTEX mutex_lock(&(lock_cs[type])); @@ -338,17 +326,6 @@ void thread_cleanup(void) void pthreads_locking_callback(int mode, int type, char *file, int line) { -# if 0 - fprintf(stderr, "thread=%4d mode=%s lock=%s %s:%d\n", - CRYPTO_thread_id(), - (mode & CRYPTO_LOCK) ? "l" : "u", - (type & CRYPTO_READ) ? "r" : "w", file, line); -# endif -# if 0 - if (CRYPTO_LOCK_SSL_CERT == type) - fprintf(stderr, "(t,m,f,l) %ld %d %s %d\n", - CRYPTO_thread_id(), mode, file, line); -# endif if (mode & CRYPTO_LOCK) { pthread_mutex_lock(&(lock_cs[type])); lock_count[type]++; |