[Asterisk-cvs] zaptel wct4xxp.c,1.14,1.15

markster at lists.digium.com markster at lists.digium.com
Thu Nov 20 23:07:43 CST 2003


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv16307

Modified Files:
	wct4xxp.c 
Log Message:
#if out variables/functions that aren't used (bug #506)


Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- wct4xxp.c	21 Nov 2003 01:07:00 -0000	1.14
+++ wct4xxp.c	21 Nov 2003 05:34:02 -0000	1.15
@@ -135,7 +135,7 @@
 	int last0;		/* for detecting double-missed IRQ */
 };
 
-static void set_clear(struct t4 *wc, int span);
+static void __set_clear(struct t4 *wc, int span);
 static int t4_startup(struct zt_span *span);
 static int t4_shutdown(struct zt_span *span);
 static int t4_rbsbits(struct zt_chan *chan, int bits);
@@ -294,6 +294,7 @@
 	}
 }
 
+#if 0
 static void set_clear(struct t4 *wc, int span)
 {
 	unsigned long flags;
@@ -301,6 +302,7 @@
 	__set_clear(wc, span);
 	spin_unlock_irqrestore(&wc->reglock, flags);
 }
+#endif
 
 static int t4_ioctl(struct zt_chan *chan, unsigned int cmd, unsigned long data)
 {
@@ -833,6 +835,7 @@
 	return 0;
 }
 
+#if 0
 static int syncsrc = 0;
 static int syncnum = 0 /* -1 */;
 static int syncspan = 0;
@@ -907,6 +910,7 @@
 	spin_unlock_irqrestore(&synclock, flags);
 	return 0;
 }
+#endif
 
 static inline void e1_check(struct t4 *wc, int span, int val)
 {
@@ -1317,7 +1321,9 @@
 	int x;
 	
 	unsigned int status;
+#if 0
 	unsigned int status2;
+#endif
 
 #if 0
 	if (wc->intcount < 20)
@@ -1497,8 +1503,11 @@
 {
 	int res;
 	struct t4 *wc;
+	int x,f;
+#if 0
+	int y;
 	unsigned int *canary;
-	int x,y,f;
+#endif
 	
 	
 	if (pci_enable_device(pdev)) {




More information about the svn-commits mailing list