diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-07 19:14:20 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-07 19:14:20 -0500 |
commit | 24bfb00123e82a2e70bd115277d922438813515b (patch) | |
tree | 27328b8a5718e16d64e2d101f4b7ddcad5930aed /drivers/isdn/hisax/hscx.c | |
parent | c6135234550ed89a6fd0e8cb229633967e41d649 (diff) | |
parent | 3f00d3e8fb963968a922d821a9a53b503b687e81 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'drivers/isdn/hisax/hscx.c')
-rw-r--r-- | drivers/isdn/hisax/hscx.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/isdn/hisax/hscx.c b/drivers/isdn/hisax/hscx.c index 66dbaee77bfb..c8f9951f7914 100644 --- a/drivers/isdn/hisax/hscx.c +++ b/drivers/isdn/hisax/hscx.c | |||
@@ -156,14 +156,10 @@ close_hscxstate(struct BCState *bcs) | |||
156 | { | 156 | { |
157 | modehscx(bcs, 0, bcs->channel); | 157 | modehscx(bcs, 0, bcs->channel); |
158 | if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { | 158 | if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { |
159 | if (bcs->hw.hscx.rcvbuf) { | 159 | kfree(bcs->hw.hscx.rcvbuf); |
160 | kfree(bcs->hw.hscx.rcvbuf); | 160 | bcs->hw.hscx.rcvbuf = NULL; |
161 | bcs->hw.hscx.rcvbuf = NULL; | 161 | kfree(bcs->blog); |
162 | } | 162 | bcs->blog = NULL; |
163 | if (bcs->blog) { | ||
164 | kfree(bcs->blog); | ||
165 | bcs->blog = NULL; | ||
166 | } | ||
167 | skb_queue_purge(&bcs->rqueue); | 163 | skb_queue_purge(&bcs->rqueue); |
168 | skb_queue_purge(&bcs->squeue); | 164 | skb_queue_purge(&bcs->squeue); |
169 | if (bcs->tx_skb) { | 165 | if (bcs->tx_skb) { |