[zaptel-commits] kpfleming: branch 1.4 r3636 - in /branches/1.4/wcte12xp: base.c vpmadt032.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Jan 9 11:21:44 CST 2008


Author: kpfleming
Date: Wed Jan  9 11:21:43 2008
New Revision: 3636

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3636
Log:
eliminate compiler warnings about unused variables

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

Modified: branches/1.4/wcte12xp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wcte12xp/base.c?view=diff&rev=3636&r1=3635&r2=3636
==============================================================================
--- branches/1.4/wcte12xp/base.c (original)
+++ branches/1.4/wcte12xp/base.c Wed Jan  9 11:21:43 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;
@@ -1727,7 +1723,6 @@
 static inline void cmd_retransmit(struct t1 *wc)
 {
 	unsigned int x;
-	unsigned long flags;
 
 	for (x = 0; x < sizeof(wc->cmdq.cmds) / sizeof(wc->cmdq.cmds[0]); x++) {
 		if (!(wc->cmdq.cmds[x].flags &  __CMD_FIN)) {

Modified: branches/1.4/wcte12xp/vpmadt032.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wcte12xp/vpmadt032.c?view=diff&rev=3636&r1=3635&r2=3636
==============================================================================
--- branches/1.4/wcte12xp/vpmadt032.c (original)
+++ branches/1.4/wcte12xp/vpmadt032.c Wed Jan  9 11:21:43 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