summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-10-20 12:23:26 +0000
committerShaun Ruffell <sruffell@digium.com>2010-10-20 12:23:26 +0000
commit955fdfdab8938f35dcea82e61b9ebb03f01d386b (patch)
treeb0a669ffb078d8170b8db8c08ac30e41a62166bc /drivers/dahdi/wcte12xp
parentf5ded605d7808172bb1f99109f66b75ce59044cb (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.c4
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