aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/channel.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/channel.c b/main/channel.c
index 1d53263de..d9b0173c5 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -3073,9 +3073,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)