diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ip2/ip2main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c index 5ef69dcd2588..70957acaa960 100644 --- a/drivers/char/ip2/ip2main.c +++ b/drivers/char/ip2/ip2main.c | |||
@@ -1616,9 +1616,8 @@ ip2_close( PTTY tty, struct file *pFile ) | |||
1616 | 1616 | ||
1617 | serviceOutgoingFifo ( pCh->pMyBord ); | 1617 | serviceOutgoingFifo ( pCh->pMyBord ); |
1618 | 1618 | ||
1619 | if ( tty->driver->ops->flush_buffer ) | ||
1620 | tty->driver->ops->flush_buffer(tty); | ||
1621 | tty_ldisc_flush(tty); | 1619 | tty_ldisc_flush(tty); |
1620 | tty_driver_flush_buffer(tty); | ||
1622 | tty->closing = 0; | 1621 | tty->closing = 0; |
1623 | 1622 | ||
1624 | pCh->pTTY = NULL; | 1623 | pCh->pTTY = NULL; |