[zaptel-commits] tzafrir: branch 1.4 r3615 - /branches/1.4/zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Jan 4 12:03:03 CST 2008


Author: tzafrir
Date: Fri Jan  4 12:03:02 2008
New Revision: 3615

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3615
Log:
Remove a debug print that found its way into patch. One of them
misleading.

Modified:
    branches/1.4/zaptel-base.c

Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=3615&r1=3614&r2=3615
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Fri Jan  4 12:03:02 2008
@@ -2876,9 +2876,6 @@
 
 void zt_alarm_channel(struct zt_chan *chan, int alarms)
 {
-	if (debug)
-		printk(KERN_DEBUG "%s: Channel %s, alarms: %x, current: %x\n", 
-		       __FUNCTION__, chan->name, alarms, chan->chan_alarms);
 	if (chan->chan_alarms != alarms) {
 		chan->chan_alarms = alarms;
 		zt_qevent_lock(chan, alarms ? ZT_EVENT_ALARM : ZT_EVENT_NOALARM);
@@ -3082,9 +3079,6 @@
 		else
 			stack.param.curlaw = ZT_LAW_MULAW;
 
-		if (debug)
-			printk(KERN_DEBUG "%s: ZT_GET_PARAMS_V1, Channel %s.\n", 
-			       __FUNCTION__, chan->name);
 		if (copy_to_user((struct zt_params *) data, &stack.param, size_to_copy))
 			return -EFAULT;
 




More information about the zaptel-commits mailing list