mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-16 11:38:11 +00:00
ip2: switch remaining direct call of ops->flush_buffer
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
39c2e60f8c
commit
a6fc819ebe
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue