diff options
Diffstat (limited to 'drivers/dahdi')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 4 | ||||
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 0ecb773..38ff18c 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -503,7 +503,7 @@ static inline bool is_good_frame(const u8 *sframe) 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 @@ static inline void wctdm_transmitprep(struct wctdm *wc, unsigned char *writechun } #endif } else if (wc->vpmadt032) { - cmd_dequeue_vpmadt032(wc, writechunk, x); + cmd_dequeue_vpmadt032(wc, writechunk); } if (x < DAHDI_CHUNKSIZE - 1) { 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 |