aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-21 22:37:25 +0000
committermattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-21 22:37:25 +0000
commit805ba568c669e6695dda10fa4732ec994e3c5703 (patch)
treeb1bc529e141b75eb71862e62d04353bdd0b547fe /channels/chan_zap.c
parent84849d3f6f52c36330d932313f143ffa72751575 (diff)
Remove unneccessary explicit case for BRI
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89510 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-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] =