Commit a6fc819e authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

ip2: switch remaining direct call of ops->flush_buffer

Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 39c2e60f
...@@ -1616,9 +1616,8 @@ ip2_close( PTTY tty, struct file *pFile ) ...@@ -1616,9 +1616,8 @@ ip2_close( PTTY tty, struct file *pFile )
serviceOutgoingFifo ( pCh->pMyBord ); serviceOutgoingFifo ( pCh->pMyBord );
if ( tty->driver->ops->flush_buffer )
tty->driver->ops->flush_buffer(tty);
tty_ldisc_flush(tty); tty_ldisc_flush(tty);
tty_driver_flush_buffer(tty);
tty->closing = 0; tty->closing = 0;
pCh->pTTY = NULL; pCh->pTTY = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment