From: Alan Cox Date: Wed, 30 Apr 2008 07:54:18 +0000 (-0700) Subject: ip2: switch remaining direct call of ops->flush_buffer X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a6fc819ebe2d70c92e43e14adbb93a5bd8ea5aa3;p=linux-beck.git ip2: switch remaining direct call of ops->flush_buffer Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 ) 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;