[Asterisk-cvs] zaptel zaptel.c,1.78,1.79
markster at lists.digium.com
markster at lists.digium.com
Wed Jun 16 23:22:51 CDT 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv4669
Modified Files:
zaptel.c
Log Message:
Don't double lock the big zap lock
Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- zaptel.c 16 Jun 2004 03:52:49 -0000 1.78
+++ zaptel.c 17 Jun 2004 03:08:44 -0000 1.79
@@ -2468,7 +2468,7 @@
__qevent(chan, ZT_EVENT_DIALCOMPLETE);
}
-static int __zt_release(struct inode *inode, struct file *file)
+static int zt_release(struct inode *inode, struct file *file)
{
int unit = UNIT(file);
int res;
@@ -2500,6 +2500,7 @@
return zt_specchan_release(inode, file, unit);
}
+#if 0
static int zt_release(struct inode *inode, struct file *file)
{
/* Lock the big zap lock when handling a release */
@@ -2510,6 +2511,7 @@
spin_unlock_irqrestore(&bigzaplock, flags);
return res;
}
+#endif
void zt_alarm_notify(struct zt_span *span)
{
More information about the svn-commits
mailing list