[dahdi-commits] sruffell: linux/trunk r10204 - /linux/trunk/drivers/dahdi/wct4xxp/base.c

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Fri Sep 23 15:18:33 CDT 2011


Author: sruffell
Date: Fri Sep 23 15:18:29 2011
New Revision: 10204

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10204
Log:
wct4xxp: Remove unused t4_span.psync and t4_span.redalarms.

These members are not used anywhere and are now gone.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Modified:
    linux/trunk/drivers/dahdi/wct4xxp/base.c

Modified: linux/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=10204&r1=10203&r2=10204
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/base.c Fri Sep 23 15:18:29 2011
@@ -289,9 +289,7 @@
 	u32 *readchunk;		/* Double-word aligned read memory */
 	int spantype;		/* card type, T1 or E1 or J1 */
 	int sync;
-	int psync;
 	int alarmtimer;
-	int redalarms;
 	int notclear;
 	int alarmcount;
 	int losalarmcount;
@@ -1923,17 +1921,14 @@
 	
 	/* remove this span number from the current sync sources, if there */
 	for(i = 0; i < wc->numspans; i++) {
-		if (wc->tspans[i]->sync == span->spanno) {
+		if (wc->tspans[i]->sync == span->spanno)
 			wc->tspans[i]->sync = 0;
-			wc->tspans[i]->psync = 0;
-		}
 	}
 	wc->tspans[span->offset]->syncpos = lc->sync;
 	/* if a sync src, put it in proper place */
-	if (lc->sync) {
+	if (lc->sync)
 		wc->tspans[lc->sync - 1]->sync = span->spanno;
-		wc->tspans[lc->sync - 1]->psync = span->offset + 1;
-	}
+
 	set_bit(T4_CHECK_TIMING, &wc->checkflag);
 
 	/* Make sure this is clear in case of multiple startup and shutdown




More information about the dahdi-commits mailing list