[dahdi-commits] sruffell: linux/trunk r6113 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Mar 11 09:50:04 CDT 2009
Author: sruffell
Date: Wed Mar 11 09:50:00 2009
New Revision: 6113
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6113
Log:
Eliminating an unused parameter to dahdi_specchan_open.
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=6113&r1=6112&r2=6113
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Wed Mar 11 09:50:00 2009
@@ -2626,7 +2626,7 @@
return 0;
}
-static int dahdi_specchan_open(struct inode *inode, struct file *file, int unit, int inc)
+static int dahdi_specchan_open(struct inode *inode, struct file *file, int unit)
{
int res = 0;
@@ -2765,14 +2765,14 @@
chan = dahdi_alloc_pseudo();
if (chan) {
file->private_data = chan;
- return dahdi_specchan_open(inode, file, chan->channo, 1);
+ return dahdi_specchan_open(inode, file, chan->channo);
} else {
return -ENXIO;
}
} else
return -ENXIO;
}
- return dahdi_specchan_open(inode, file, unit, 1);
+ return dahdi_specchan_open(inode, file, unit);
}
#if 0
@@ -5349,7 +5349,7 @@
return -EINVAL;
if (channo > DAHDI_MAX_CHANNELS)
return -EINVAL;
- res = dahdi_specchan_open(inode, file, channo, 0);
+ res = dahdi_specchan_open(inode, file, channo);
if (!res) {
/* Setup the pointer for future stuff */
chan = chans[channo];
More information about the dahdi-commits
mailing list