diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-04-30 03:54:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:47 -0400 |
commit | a6fc819ebe2d70c92e43e14adbb93a5bd8ea5aa3 (patch) | |
tree | 9d0e627bade428ddc21fd4590e24f72b79eda3cc | |
parent | 39c2e60f8c584c1b29b5c4375dd49df7995386bb (diff) |
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>
-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; |