From: Russell Bryant Date: Fri, 2 Apr 2010 23:30:15 +0000 (+0000) Subject: Remove extremely verbose debug message. X-Git-Tag: 1.4.31-rc1~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd40a4681fe370d6cbbdb736c468c55a5d99affc;p=thirdparty%2Fasterisk.git Remove extremely verbose debug message. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@256009 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 4141d51bf5..eb4aa05d91 100644 --- a/main/channel.c +++ b/main/channel.c @@ -2541,10 +2541,7 @@ done: int ast_internal_timing_enabled(struct ast_channel *chan) { - int ret = ast_opt_internal_timing && chan->timingfd > -1; - if (option_debug > 4) - ast_log(LOG_DEBUG, "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)