diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-03-22 09:20:37 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-03-22 09:20:37 +0000 |
commit | 44de2fe35d90fca285af3c0781cc5e6e34d88550 (patch) | |
tree | 41173ba3394f0334a6a12278df09eaf7cffbc60f /drivers/dahdi/wcte12xp/base.c | |
parent | 7991bff1f358e06b188ee6aa3622d16ddecaa510 (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/wcte12xp/base.c')
-rw-r--r-- | drivers/dahdi/wcte12xp/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index 3ac2727..2d82e3f 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -258,8 +258,7 @@ inline void cmd_decipher_vpmadt032(struct t1 *wc, const u8 *readchunk) cmd->data = (0xff & readchunk[CMD_BYTE(2, 1, 1)]) << 8; cmd->data |= readchunk[CMD_BYTE(2, 2, 1)]; 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); |