]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove some more code that serves no purpose.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 30 Oct 2010 01:45:49 +0000 (01:45 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 30 Oct 2010 01:45:49 +0000 (01:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@293416 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index d73f12a562c25730e4c25f40c4f6d688695c04b9..f293703faacf6bde62191b772f60667ffb03aa81 100644 (file)
@@ -4915,17 +4915,6 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
                                                        dahdi_enable_ec(p);
                                                        ast_hangup(chan);
                                                } else {
-                                                       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 "Started three way call on channel %d\n", p->channel);
                                                        /* Start music on hold if appropriate */