diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-10-20 12:23:26 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-10-20 12:23:26 +0000 |
commit | 892522aba6af38466b94d45a2908c09f52d310db (patch) | |
tree | b0a669ffb078d8170b8db8c08ac30e41a62166bc /drivers/dahdi/wcte12xp | |
parent | 9e27fd76de8852d3902eb4578fdd06067d942465 (diff) |
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@digium.com>
Acked-by: Kinsey Moore <kmoore@digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9446 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index be0e54f..03a2ed5 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -393,7 +393,7 @@ static int config_vpmadt032(struct vpmadt032 *vpm, struct t1 *wc) #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 @@ static inline void t1_transmitprep(struct t1 *wc, u8 *writechunk) #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 |