Skip to content

Commit

Permalink
ip2: switch remaining direct call of ops->flush_buffer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Apr 30, 2008
1 parent 39c2e60 commit a6fc819
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/char/ip2/ip2main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1616,9 +1616,8 @@ ip2_close( PTTY tty, struct file *pFile )

serviceOutgoingFifo ( pCh->pMyBord );

if ( tty->driver->ops->flush_buffer )
tty->driver->ops->flush_buffer(tty);
tty_ldisc_flush(tty);
tty_driver_flush_buffer(tty);
tty->closing = 0;

pCh->pTTY = NULL;
Expand Down

0 comments on commit a6fc819

Please sign in to comment.