summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm24xxp/base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-03-22 09:20:37 +0000
committerShaun Ruffell <sruffell@digium.com>2010-03-22 09:20:37 +0000
commit44de2fe35d90fca285af3c0781cc5e6e34d88550 (patch)
tree41173ba3394f0334a6a12278df09eaf7cffbc60f /drivers/dahdi/wctdm24xxp/base.c
parent7991bff1f358e06b188ee6aa3622d16ddecaa510 (diff)
wcte12xp, wctdm24xxp: Do not keep individual free lists for VPM commands.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8375 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/base.c')
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index 71073dd..02e85f0 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -785,8 +785,7 @@ static inline void cmd_decipher_vpmadt032(struct wctdm *wc, const u8 *readchunk)
cmd->data = (0xff & readchunk[CMD_BYTE(25, 1, 0)]) << 8;
cmd->data |= readchunk[CMD_BYTE(25, 2, 0)];
if (cmd->desc & __VPM150M_WR) {
- /* Writes do not need any acknowledgement */
- list_add_tail(&cmd->node, &vpm->free_cmds);
+ kfree(&cmd->node);
} else {
cmd->desc |= __VPM150M_FIN;
complete(&cmd->complete);