diff options
Diffstat (limited to 'drivers/isdn/hisax/isac.c')
-rw-r--r-- | drivers/isdn/hisax/isac.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/isdn/hisax/isac.c b/drivers/isdn/hisax/isac.c index 85e063a08d23..565b7892c267 100644 --- a/drivers/isdn/hisax/isac.c +++ b/drivers/isdn/hisax/isac.c | |||
@@ -570,15 +570,12 @@ setstack_isac(struct PStack *st, struct IsdnCardState *cs) | |||
570 | } | 570 | } |
571 | 571 | ||
572 | static void | 572 | static void |
573 | DC_Close_isac(struct IsdnCardState *cs) { | 573 | DC_Close_isac(struct IsdnCardState *cs) |
574 | if (cs->dc.isac.mon_rx) { | 574 | { |
575 | kfree(cs->dc.isac.mon_rx); | 575 | kfree(cs->dc.isac.mon_rx); |
576 | cs->dc.isac.mon_rx = NULL; | 576 | cs->dc.isac.mon_rx = NULL; |
577 | } | 577 | kfree(cs->dc.isac.mon_tx); |
578 | if (cs->dc.isac.mon_tx) { | 578 | cs->dc.isac.mon_tx = NULL; |
579 | kfree(cs->dc.isac.mon_tx); | ||
580 | cs->dc.isac.mon_tx = NULL; | ||
581 | } | ||
582 | } | 579 | } |
583 | 580 | ||
584 | static void | 581 | static void |