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

ip2: switch remaining direct call of ops->flush_buffer

parent 39c2e60f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;