From 80ccaf3450f2dc24695b5f3abbc082c532df6a2a Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Mon, 26 May 2014 21:19:56 +0000 Subject: [PATCH] mod_fifo: Remove duplicate check in ringall strategy We already checked the number of usable rows, and nothing has changed. --- src/mod/applications/mod_fifo/mod_fifo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index c52f328587..f8496a74f1 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -1593,8 +1593,6 @@ static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thr fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE); } - if (!total) goto end; - if (!globals.allow_transcoding && !switch_true(switch_event_get_header(pop, "variable_fifo_allow_transcoding")) && (codec = switch_event_get_header(pop, "variable_rtp_use_codec_name"))) { const char *rate = switch_event_get_header(pop, "variable_rtp_use_codec_rate");