[svn-commits] mattf: trunk r1972 - /trunk/wctdm24xxp.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Jan 25 15:34:16 MST 2007
Author: mattf
Date: Thu Jan 25 16:34:15 2007
New Revision: 1972
URL: http://svn.digium.com/view/zaptel?view=rev&rev=1972
Log:
Remove debug code.
Modified:
trunk/wctdm24xxp.c
Modified: trunk/wctdm24xxp.c
URL: http://svn.digium.com/view/zaptel/trunk/wctdm24xxp.c?view=diff&rev=1972&r1=1971&r2=1972
==============================================================================
--- trunk/wctdm24xxp.c (original)
+++ trunk/wctdm24xxp.c Thu Jan 25 16:34:15 2007
@@ -450,19 +450,6 @@
#endif
static int wctdm_init_proslic(struct wctdm *wc, int card, int fast , int manual, int sane);
-
-#if 0
-static inline int CMD_BYTE(int card,int bit,int altcs)
-{
- int res;
- res = (((((card) & 0x3) * 3 + (bit)) * 7) \
- + ((card) >> 2) + (altcs));
- //+ ((card) >> 2) + (altcs) + (altcs ? 42 : 0));
- if (((res == 31) || (res == 24) || (res == 38)) && (card != 5))
- printk("%d %d %d\n", card, bit, altcs);
- return res;
-}
-#endif
/* sleep in user space until woken up. Equivilant of tsleep() in BSD */
static int schluffen(wait_queue_head_t *q)
More information about the svn-commits
mailing list