[zaptel-commits] tzafrir: branch 1.2 r3645 - in /branches/1.2/wcte12xp: base.c vpmadt032.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Jan 10 12:29:02 CST 2008


Author: tzafrir
Date: Thu Jan 10 12:29:02 2008
New Revision: 3645

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3645
Log:
Remove some unused variables (already applied in 1.4).

Modified:
    branches/1.2/wcte12xp/base.c
    branches/1.2/wcte12xp/vpmadt032.c

Modified: branches/1.2/wcte12xp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wcte12xp/base.c?view=diff&rev=3645&r1=3644&r2=3645
==============================================================================
--- branches/1.2/wcte12xp/base.c (original)
+++ branches/1.2/wcte12xp/base.c Thu Jan 10 12:29:02 2008
@@ -214,7 +214,6 @@
 
 static inline void cmd_dequeue(struct t1 *wc, volatile unsigned char *writechunk, int eframe, int slot)
 {
-	unsigned long flags;
 	struct command *curcmd=NULL;
 	unsigned int x;
 
@@ -258,7 +257,6 @@
 
 static inline void cmd_decipher(struct t1 *wc, volatile unsigned char *readchunk)
 {
-	unsigned long flags;
 	unsigned char ident, cs_slot;
 	unsigned int x;
 	unsigned int is_vpm = 0;
@@ -416,7 +414,6 @@
  **************************************************************************/
 static inline void clean_leftovers(struct t1 *wc)
 {
-	unsigned long flags;
 	unsigned int x;
 	int count = 0;
 	
@@ -439,7 +436,6 @@
  *******************************************************************/
 static inline int t1_getreg_isr(struct t1 *wc, int addr)
 {
-	unsigned long flags;
 	int hit=-1;
 	int ret;
 	unsigned int x;

Modified: branches/1.2/wcte12xp/vpmadt032.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wcte12xp/vpmadt032.c?view=diff&rev=3645&r1=3644&r2=3645
==============================================================================
--- branches/1.2/wcte12xp/vpmadt032.c (original)
+++ branches/1.2/wcte12xp/vpmadt032.c Thu Jan 10 12:29:02 2008
@@ -46,7 +46,6 @@
 
 inline void vpm150m_cmd_dequeue(struct t1 *wc, volatile unsigned char *writechunk, int whichframe)
 {
-	unsigned long flags;
 	struct vpm150m_cmd *curcmd = NULL;
 	struct vpm150m *vpm150m = wc->vpm150m;
 	int x;
@@ -234,7 +233,6 @@
 
 inline void vpm150m_cmd_decipher(struct t1 *wc, volatile unsigned char *readchunk)
 {
-	unsigned long flags;
 	unsigned char ident;
 	int x, i;
 




More information about the zaptel-commits mailing list