summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-25 22:20:21 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-25 22:20:21 +0000
commit767a78519a68f5d1fa38dff61c5e61dc83f02e02 (patch)
tree00553926ca82ce74fca9e784b13f9a8f60e97074
parentf62ab473d3692e18d3c189908cd3c85a2ed44c08 (diff)
Take out some old debug code.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1971 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--wctdm24xxp.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/wctdm24xxp.c b/wctdm24xxp.c
index e6890de..8fb67bb 100644
--- a/wctdm24xxp.c
+++ b/wctdm24xxp.c
@@ -451,19 +451,6 @@ static int dtmfthreshold = VPM_DEFAULT_DTMFTHRESHOLD;
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)
{