[zaptel-commits] mattf: trunk r1679 - /trunk/wct4xxp/base.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Nov 30 20:34:47 MST 2006


Author: mattf
Date: Thu Nov 30 21:34:47 2006
New Revision: 1679

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1679
Log:
Take out useless line of code.  Thanks Nick!

Modified:
    trunk/wct4xxp/base.c

Modified: trunk/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/trunk/wct4xxp/base.c?view=diff&rev=1679&r1=1678&r2=1679
==============================================================================
--- trunk/wct4xxp/base.c (original)
+++ trunk/wct4xxp/base.c Thu Nov 30 21:34:47 2006
@@ -1513,7 +1513,7 @@
 
 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 @@
 			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) {



More information about the zaptel-commits mailing list