[svn-commits] sruffell: linux/trunk r9446 - in /linux/trunk/drivers/dahdi: wctdm24xxp/ wcte...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Oct 20 07:23:28 CDT 2010


Author: sruffell
Date: Wed Oct 20 07:23:26 2010
New Revision: 9446

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9446
Log:
wctdm24xxp, wcte12xp: Remove unused 'whichframe' parameter.

'cmd_dequeue_vpmadt032' in the wctdm24xxp and wcte12xp drivers no longer
care about which frame they are on.  The command will be packed into the
eframe specified by "writechunk".

Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>

Modified:
    linux/trunk/drivers/dahdi/wctdm24xxp/base.c
    linux/trunk/drivers/dahdi/wcte12xp/base.c

Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=9446&r1=9445&r2=9446
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Wed Oct 20 07:23:26 2010
@@ -503,7 +503,7 @@
         return a != b;
 }
 
-static inline void cmd_dequeue_vpmadt032(struct wctdm *wc, u8 *writechunk, int whichframe)
+static inline void cmd_dequeue_vpmadt032(struct wctdm *wc, u8 *writechunk)
 {
 	unsigned long flags;
 	struct vpmadt032_cmd *curcmd = NULL;
@@ -983,7 +983,7 @@
 			}
 #endif			
 		} else if (wc->vpmadt032) {
-			cmd_dequeue_vpmadt032(wc, writechunk, x);
+			cmd_dequeue_vpmadt032(wc, writechunk);
 		}
 
 		if (x < DAHDI_CHUNKSIZE - 1) {

Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=9446&r1=9445&r2=9446
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Wed Oct 20 07:23:26 2010
@@ -393,7 +393,7 @@
 #define debug_printk(wc, lvl, fmt, args...) if (debug >= (lvl)) do { \
 	t1_info((wc), fmt , ## args); } while (0)
 
-static void cmd_dequeue_vpmadt032(struct t1 *wc, unsigned char *writechunk, int whichframe)
+static void cmd_dequeue_vpmadt032(struct t1 *wc, unsigned char *writechunk)
 {
 	struct vpmadt032_cmd *cmd;
 	struct vpmadt032 *vpm = wc->vpmadt032;
@@ -1901,7 +1901,7 @@
 #ifdef VPM_SUPPORT
 		spin_lock_irqsave(&wc->reglock, flags);
 		if (wc->vpmadt032)
-			cmd_dequeue_vpmadt032(wc, writechunk, x);
+			cmd_dequeue_vpmadt032(wc, writechunk);
 		spin_unlock_irqrestore(&wc->reglock, flags);
 #endif
 




More information about the svn-commits mailing list