From b3764b4070cb7a595062bf986236eafc03a4ef0b Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 1 Dec 2006 03:34:47 +0000 Subject: Take out useless line of code. Thanks Nick! git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1679 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp/base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wct4xxp') 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) { -- cgit v1.2.3