[svn-commits] sruffell: linux/trunk r9545 - /linux/trunk/drivers/dahdi/wcb4xxp/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 20 19:49:10 UTC 2010


Author: sruffell
Date: Mon Dec 20 13:49:05 2010
New Revision: 9545

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9545
Log:
wcb4xxp: Remove unused syncpos member.

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

Modified:
    linux/trunk/drivers/dahdi/wcb4xxp/base.c
    linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h

Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=9545&r1=9544&r2=9545
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Mon Dec 20 13:49:05 2010
@@ -2337,11 +2337,8 @@
 		}
 	}
 
-	/* if a sync src, put it in proper place */
-	b4->spans[span->offset].syncpos = lc->sync;
-	if (lc->sync) {
+	if (lc->sync)
 		b4->spans[lc->sync - 1].sync = span->spanno;
-	}
 
 	b4xxp_reset_span(bspan);
 

Modified: linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h?view=diff&rev=9545&r1=9544&r2=9545
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/wcb4xxp.h Mon Dec 20 13:49:05 2010
@@ -390,7 +390,6 @@
 	unsigned char readchunk[WCB4XXP_CHANNELS_PER_SPAN * DAHDI_CHUNKSIZE];
 
 	int sync;				/* sync priority */
-	int syncpos;				/* sync priority */
 
 	int oldstate;				/* old state machine state */
 	int newalarm;				/* alarm to send to zaptel once alarm timer expires */




More information about the svn-commits mailing list