Merged revisions 256009 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 2 Apr 2010 23:30:58 +0000 (23:30 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 2 Apr 2010 23:30:58 +0000 (23:30 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r256009 | russell | 2010-04-02 18:30:15 -0500 (Fri, 02 Apr 2010) | 2 lines

  Remove extremely verbose debug message.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256010 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 892d030..d3c9e9d 100644 (file)
@@ -3570,9 +3570,7 @@ done:
 
 int ast_internal_timing_enabled(struct ast_channel *chan)
 {
-       int ret = ast_opt_internal_timing && chan->timingfd > -1;
-       ast_debug(5, "Internal timing is %s (option_internal_timing=%d chan->timingfd=%d)\n", ret? "enabled": "disabled", ast_opt_internal_timing, chan->timingfd);
-       return ret;
+       return (ast_opt_internal_timing && chan->timingfd > -1);
 }
 
 struct ast_frame *ast_read(struct ast_channel *chan)