public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ip2: switch remaining direct call of ops->flush_buffer
@ 2008-04-29 13:27 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2008-04-29 13:27 UTC (permalink / raw)
  To: akpm, linux-kernel

Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-mm1/drivers/char/ip2/ip2main.c linux-2.6.25-mm1/drivers/char/ip2/ip2main.c
--- linux.vanilla-2.6.25-mm1/drivers/char/ip2/ip2main.c	2008-04-28 11:36:48.000000000 +0100
+++ linux-2.6.25-mm1/drivers/char/ip2/ip2main.c	2008-04-28 11:46:15.000000000 +0100
@@ -1616,9 +1616,8 @@
 
 	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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-29 13:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-29 13:27 [PATCH] ip2: switch remaining direct call of ops->flush_buffer Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox