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
This commit is contained in:
parent
53d674dc21
commit
15182a4a18
@ -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) {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user