]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove a message that goes to LOG_ERROR that's not really an error.
authorRussell Bryant <russell@russellbryant.com>
Sat, 28 Apr 2007 19:23:46 +0000 (19:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 28 Apr 2007 19:23:46 +0000 (19:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/lock.h

index d326b6157dc5508b820476ee47566d1a4a2cef20..22a23a84445cbc9642d1f07faf5390f0a48d02ab 100644 (file)
@@ -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;