diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index a033f53209d5..1a2222cbb805 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c | |||
@@ -1708,9 +1708,7 @@ isdn_tty_close(struct tty_struct *tty, struct file *filp) | |||
1708 | } | 1708 | } |
1709 | dev->modempoll--; | 1709 | dev->modempoll--; |
1710 | isdn_tty_shutdown(info); | 1710 | isdn_tty_shutdown(info); |
1711 | 1711 | isdn_tty_flush_buffer(tty); | |
1712 | if (tty->driver->flush_buffer) | ||
1713 | tty->driver->flush_buffer(tty); | ||
1714 | tty_ldisc_flush(tty); | 1712 | tty_ldisc_flush(tty); |
1715 | info->tty = NULL; | 1713 | info->tty = NULL; |
1716 | info->ncarrier = 0; | 1714 | info->ncarrier = 0; |