aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-30 00:34:12 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-10-30 00:34:12 +0000
commite328bd67bb80c0c1f5bc8f16a82e357239a6cf2b (patch)
treeeab96e43a83d6c84e275753058eb320af816e6fb
parentb654ce0ee86c2737cb882206d923ffdd5bd215c2 (diff)
Remove some code that serves no purpose.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@293339 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_dahdi.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 292ea7aaf..d73f12a56 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -4975,17 +4975,6 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
/* Lets see what we're up to */
if (((ast->pbx) || (ast->_state == AST_STATE_UP)) &&
(p->transfertobusy || (ast->_state != AST_STATE_BUSY))) {
- struct ast_channel *other = ast_bridged_channel(p->subs[SUB_THREEWAY].owner);
- int way3bridge = 0, cdr3way = 0;
-
- if (!other) {
- other = ast_bridged_channel(p->subs[SUB_REAL].owner);
- } else
- way3bridge = 1;
-
- if (p->subs[SUB_THREEWAY].owner->cdr)
- cdr3way = 1;
-
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Building conference on call on %s and %s\n", p->subs[SUB_THREEWAY].owner->name, p->subs[SUB_REAL].owner->name);
/* Put them in the threeway, and flip */