[svn-commits] rmeyerriecks: linux/trunk r10731 - in /linux/trunk: drivers/dahdi/ include/da...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 4 15:24:43 CDT 2012


Author: rmeyerriecks
Date: Thu Oct  4 15:24:42 2012
New Revision: 10731

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10731
Log:
dahdi: Remove 'getlin_lastchunk' from struct dahdi_chan.

'getlin_lastchunk' has not been used since r65 "Version 0.1.6 from FTP" [1]

One less thing to think about...

[1] http://svnview.digium.com/svn/dahdi?view=revision&revision=65

Signed-off-by: Russ Meyerriecks <rmeyerriecks at digium.com>

Modified:
    linux/trunk/drivers/dahdi/dahdi-base.c
    linux/trunk/include/dahdi/kernel.h

Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=10731&r1=10730&r2=10731
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Thu Oct  4 15:24:42 2012
@@ -7762,8 +7762,6 @@
 			ms->ec_state->status.mode = ECHO_MODE_AWAITINGECHO;
 		}
 	}
-	/* save value from last chunk */
-	memcpy(ms->getlin_lastchunk, ms->getlin, DAHDI_CHUNKSIZE * sizeof(short));
 	/* save value from current */
 	memcpy(ms->getlin, getlin, DAHDI_CHUNKSIZE * sizeof(short));
 	/* save value from current */

Modified: linux/trunk/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/include/dahdi/kernel.h?view=diff&rev=10731&r1=10730&r2=10731
==============================================================================
--- linux/trunk/include/dahdi/kernel.h (original)
+++ linux/trunk/include/dahdi/kernel.h Thu Oct  4 15:24:42 2012
@@ -536,7 +536,6 @@
 
 	short	getlin[DAHDI_MAX_CHUNKSIZE];			/*!< Last transmitted samples */
 	unsigned char getraw[DAHDI_MAX_CHUNKSIZE];		/*!< Last received raw data */
-	short	getlin_lastchunk[DAHDI_MAX_CHUNKSIZE];	/*!< Last transmitted samples from last chunk */
 	short	putlin[DAHDI_MAX_CHUNKSIZE];			/*!< Last received samples */
 	unsigned char putraw[DAHDI_MAX_CHUNKSIZE];		/*!< Last received raw data */
 	short	conflast[DAHDI_MAX_CHUNKSIZE];			/*!< Last conference sample -- base part of channel */




More information about the svn-commits mailing list