summaryrefslogtreecommitdiff
path: root/zaptel.c
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.c')
-rwxr-xr-xzaptel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zaptel.c b/zaptel.c
index fd15352..445a78a 100755
--- a/zaptel.c
+++ b/zaptel.c
@@ -2468,7 +2468,7 @@ static void __do_dtmf(struct zt_chan *chan)
__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 @@ static int __zt_release(struct inode *inode, struct file *file)
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 @@ static int zt_release(struct inode *inode, struct file *file)
spin_unlock_irqrestore(&bigzaplock, flags);
return res;
}
+#endif
void zt_alarm_notify(struct zt_span *span)
{