diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-01 03:34:47 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-12-01 03:34:47 +0000 |
commit | b3764b4070cb7a595062bf986236eafc03a4ef0b (patch) | |
tree | c109af3059aff3d7d894cd224595249a41e6bb2a /wct4xxp | |
parent | 5c55840d97207620c860c685e15444c0eca793d3 (diff) |
Take out useless line of code. Thanks Nick!
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1679 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r-- | wct4xxp/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c index df575ac..72f83c8 100644 --- a/wct4xxp/base.c +++ b/wct4xxp/base.c @@ -1513,7 +1513,7 @@ static int t4_close(struct zt_chan *chan) static void init_spans(struct t4 *wc) { - int x,y,c; + int x,y; int gen2; int offset = 1; struct t4_span *ts; @@ -1569,7 +1569,6 @@ static void init_spans(struct t4 *wc) sprintf(mychans->name, "TE%d/%d/%d/%d", wc->numspans, wc->num, x + 1, y + 1); mychans->sigcap = ZT_SIG_EM | ZT_SIG_CLEAR | ZT_SIG_FXSLS | ZT_SIG_FXSGS | ZT_SIG_FXSKS | ZT_SIG_HARDHDLC | ZT_SIG_FXOLS | ZT_SIG_FXOGS | ZT_SIG_FXOKS | ZT_SIG_CAS | ZT_SIG_EM_E1 | ZT_SIG_DACS_RBS; - c = (x * ts->span.channels) + y; mychans->pvt = wc; mychans->chanpos = y + 1; if (gen2) { |