[dahdi-commits] sruffell: branch linux/sruffell/chan_list_refactoring r9284 - /linux/team/sru...
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Sep 2 12:41:30 CDT 2010
Author: sruffell
Date: Thu Sep 2 12:41:18 2010
New Revision: 9284
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9284
Log:
dahdi: Remove unused unit from dahdi_common_ioctl.
Modified:
linux/team/sruffell/chan_list_refactoring/drivers/dahdi/dahdi-base.c
Modified: linux/team/sruffell/chan_list_refactoring/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/sruffell/chan_list_refactoring/drivers/dahdi/dahdi-base.c?view=diff&rev=9284&r1=9283&r2=9284
==============================================================================
--- linux/team/sruffell/chan_list_refactoring/drivers/dahdi/dahdi-base.c (original)
+++ linux/team/sruffell/chan_list_refactoring/drivers/dahdi/dahdi-base.c Thu Sep 2 12:41:18 2010
@@ -4197,7 +4197,7 @@
}
static int dahdi_common_ioctl(struct file *file, unsigned int cmd,
- unsigned long data, int unit)
+ unsigned long data)
{
switch (cmd) {
/* get channel parameters */
@@ -4817,7 +4817,7 @@
}
return -ENOSYS;
default:
- return dahdi_common_ioctl(file, cmd, data, 0);
+ return dahdi_common_ioctl(file, cmd, data);
}
return 0;
}
@@ -5470,7 +5470,7 @@
break;
default:
/* Check for common ioctl's and private ones */
- rv = dahdi_common_ioctl(file, cmd, data, chan->channo);
+ rv = dahdi_common_ioctl(file, cmd, data);
/* if no span, just return with value */
if (!chan->span) return rv;
if ((rv == -ENOTTY) && chan->span->ops->ioctl)
More information about the dahdi-commits
mailing list