summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2017-03-29 12:45:47 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-03-29 12:45:47 -0500
commit7c2f4601f2a211942e8ec5e3c4035ad8b6e8e294 (patch)
tree12fb80837f84d840fda97876dbd446bdc2e67e9b /apps/app_queue.c
parent08210e851c4ef09c1344218e0853dcb09221e30a (diff)
parent5d938045d465d66e28bb49816c482a8b68f99342 (diff)
Merge "channel: Remove old epoll support and fixed max number of file descriptors."
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 946869612..9bba6762d 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -4794,9 +4794,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
char membername[80] = "";
long starttime = 0;
long endtime = 0;
-#ifdef HAVE_EPOLL
- struct callattempt *epollo;
-#endif
char *inchan_name;
struct timeval start_time_tv = ast_tvnow();
int canceled_by_caller = 0; /* 1 when caller hangs up or press digit or press * */
@@ -4806,13 +4803,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
ast_channel_unlock(qe->chan);
starttime = (long) time(NULL);
-#ifdef HAVE_EPOLL
- for (epollo = outgoing; epollo; epollo = epollo->q_next) {
- if (epollo->chan) {
- ast_poll_channel_add(in, epollo->chan);
- }
- }
-#endif
while ((*to = ast_remaining_ms(start_time_tv, orig)) && !peer) {
int numlines, retry, pos = 1;
@@ -5325,14 +5315,6 @@ skip_frame:;
publish_dial_end_event(qe->chan, outgoing, NULL, "NOANSWER");
}
-#ifdef HAVE_EPOLL
- for (epollo = outgoing; epollo; epollo = epollo->q_next) {
- if (epollo->chan) {
- ast_poll_channel_del(in, epollo->chan);
- }
- }
-#endif
-
return peer;
}