diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-02-28 14:19:20 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-02-28 14:19:20 +0000 |
commit | 8e161e15e82ce6bb6f45c6e9f93246e97a3e5f93 (patch) | |
tree | b4ce23b4728cc4194203d3b309bb79f8111c6c78 | |
parent | 1693147ad3f80698be02370cfd095eb195fcd61b (diff) |
wctdm24xxp: Remove unused wctdm_vpm_check, wctdm_vpm_in, and wctdm_vpm_out.
These functions were accidentally left in. They should have been remove in
"wctdm24xxp: Remove code for unsupported modules." r9720
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9780 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 9d658f8..a91036a 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -997,17 +997,6 @@ int wctdm_getreg(struct wctdm *wc, int card, int addr) return val; } - -static inline unsigned char wctdm_vpm_in(struct wctdm *wc, int unit, const unsigned int addr) -{ - return wctdm_getreg(wc, unit + NUM_MODULES, addr); -} - -static inline void wctdm_vpm_out(struct wctdm *wc, int unit, const unsigned int addr, const unsigned char val) -{ - wctdm_setreg(wc, unit + NUM_MODULES, addr, val); -} - static inline void cmd_retransmit(struct wctdm *wc) { int x,y; @@ -1877,25 +1866,6 @@ static inline void wctdm_proslic_check_hook(struct wctdm *wc, const int card) fxs->lastrxhook = hook; } -static inline void wctdm_vpm_check(struct wctdm *wc, int x) -{ - if (wc->cmdq[x].isrshadow[0]) { - if (debug & DEBUG_ECHOCAN) - dev_info(&wc->vb.pdev->dev, "VPM: Detected dtmf ON channel %02x on chip %d!\n", wc->cmdq[x].isrshadow[0], x - NUM_MODULES); - wc->sethook[x] = CMD_WR(0xb9, wc->cmdq[x].isrshadow[0]); - wc->cmdq[x].isrshadow[0] = 0; - /* Cancel most recent lookup, if there is one */ - wc->cmdq[x].cmds[USER_COMMANDS+0] = 0x00000000; - } else if (wc->cmdq[x].isrshadow[1]) { - if (debug & DEBUG_ECHOCAN) - dev_info(&wc->vb.pdev->dev, "VPM: Detected dtmf OFF channel %02x on chip %d!\n", wc->cmdq[x].isrshadow[1], x - NUM_MODULES); - wc->sethook[x] = CMD_WR(0xbd, wc->cmdq[x].isrshadow[1]); - wc->cmdq[x].isrshadow[1] = 0; - /* Cancel most recent lookup, if there is one */ - wc->cmdq[x].cmds[USER_COMMANDS+1] = 0x00000000; - } -} - static const char *wctdm_echocan_name(const struct dahdi_chan *chan) { struct wctdm *wc = chan->pvt; |