summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2007-11-21 22:37:25 +0000
committerMatthew Fredrickson <creslin@digium.com>2007-11-21 22:37:25 +0000
commit27dc9e7c706db32e93e5ffb04634617ce5f06254 (patch)
treeb1bc529e141b75eb71862e62d04353bdd0b547fe
parent9f0859d19da90bf299b5476f6e532444b0c36aff (diff)
Remove unneccessary explicit case for BRI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_zap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 4cbc81b58..970b52cf2 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] =