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/ipacx.c | |
parent | c6135234550ed89a6fd0e8cb229633967e41d649 (diff) | |
parent | 3f00d3e8fb963968a922d821a9a53b503b687e81 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'drivers/isdn/hisax/ipacx.c')
-rw-r--r-- | drivers/isdn/hisax/ipacx.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/isdn/hisax/ipacx.c b/drivers/isdn/hisax/ipacx.c index efba2f448017..2e9afae1254a 100644 --- a/drivers/isdn/hisax/ipacx.c +++ b/drivers/isdn/hisax/ipacx.c | |||
@@ -762,14 +762,10 @@ bch_close_state(struct BCState *bcs) | |||
762 | { | 762 | { |
763 | bch_mode(bcs, 0, bcs->channel); | 763 | bch_mode(bcs, 0, bcs->channel); |
764 | if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { | 764 | if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { |
765 | if (bcs->hw.hscx.rcvbuf) { | 765 | kfree(bcs->hw.hscx.rcvbuf); |
766 | kfree(bcs->hw.hscx.rcvbuf); | 766 | bcs->hw.hscx.rcvbuf = NULL; |
767 | bcs->hw.hscx.rcvbuf = NULL; | 767 | kfree(bcs->blog); |
768 | } | 768 | bcs->blog = NULL; |
769 | if (bcs->blog) { | ||
770 | kfree(bcs->blog); | ||
771 | bcs->blog = NULL; | ||
772 | } | ||
773 | skb_queue_purge(&bcs->rqueue); | 769 | skb_queue_purge(&bcs->rqueue); |
774 | skb_queue_purge(&bcs->squeue); | 770 | skb_queue_purge(&bcs->squeue); |
775 | if (bcs->tx_skb) { | 771 | if (bcs->tx_skb) { |