[dahdi-commits] sruffell: linux/trunk r9379 - /linux/trunk/drivers/dahdi/dahdi-base.c

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Mon Sep 20 15:34:19 CDT 2010


Author: sruffell
Date: Mon Sep 20 15:34:15 2010
New Revision: 9379

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9379
Log:
dahdi: Remove unused unit from dahdi_common_ioctl.

Review: https://reviewboard.asterisk.org/r/905/

Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Modified:
    linux/trunk/drivers/dahdi/dahdi-base.c

Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=9379&r1=9378&r2=9379
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Mon Sep 20 15:34:15 2010
@@ -4168,7 +4168,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 */
@@ -4825,7 +4825,7 @@
 		}
 		return -ENOSYS;
 	default:
-		return dahdi_common_ioctl(file, cmd, data, 0);
+		return dahdi_common_ioctl(file, cmd, data);
 	}
 	return 0;
 }
@@ -5478,7 +5478,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