From: Matthew Fredrickson Date: Wed, 21 Nov 2007 22:37:25 +0000 (+0000) Subject: Remove unneccessary explicit case for BRI X-Git-Tag: 1.6.0-beta1~3^2~710 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27dc9e7c706db32e93e5ffb04634617ce5f06254;p=thirdparty%2Fasterisk.git Remove unneccessary explicit case for BRI git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89510 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 4cbc81b580..970b52cf21 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -7524,9 +7524,7 @@ static int pri_resolve_span(int *span, int channel, int offset, struct zt_spanin ast_log(LOG_WARNING, "Unable to use span %d implicitly since it is already part of trunk group %d\n", *span, pris[*span].mastertrunkgroup); *span = -1; } else { - if (si->totalchans == 3) { - pris[*span].dchannels[0] = 3 + offset; - } else if (si->totalchans == 31) { /* if it's an E1 */ + if (si->totalchans == 31) { /* if it's an E1 */ pris[*span].dchannels[0] = 16 + offset; } else { /* T1 or BRI: D Channel is the last Channel */ pris[*span].dchannels[0] =