From 3f414d2aea785218c5777cd033d8e9ea372e3b9a Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Sat, 28 Apr 2007 19:23:46 +0000
Subject: [PATCH] Remove a message that goes to LOG_ERROR that's not really an
 error.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 include/asterisk/lock.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index d326b6157d..22a23a8444 100644
--- a/include/asterisk/lock.h
+++ b/include/asterisk/lock.h
@@ -305,9 +305,6 @@ static inline int __ast_pthread_mutex_trylock(const char *filename, int lineno,
 			__ast_mutex_logger("%s line %d (%s): '%s' really deep reentrancy!\n",
 					   filename, lineno, func, mutex_name);
 		}
-	} else {
-		__ast_mutex_logger("%s line %d (%s): Warning: '%s' was locked here.\n",
-                                   t->file[t->reentrancy-1], t->lineno[t->reentrancy-1], t->func[t->reentrancy-1], mutex_name);
 	}
 
 	return res;
-- 
GitLab