projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c2e60
)
ip2: switch remaining direct call of ops->flush_buffer
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Wed, 30 Apr 2008 07:54:18 +0000
(
00:54
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:47 +0000
(08:29 -0700)
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>
drivers/char/ip2/ip2main.c
patch
|
blob
|
history
diff --git
a/drivers/char/ip2/ip2main.c
b/drivers/char/ip2/ip2main.c
index 5ef69dcd25888c647c80a5b90be3b196adf3cc35..70957acaa960ac3bcdefc2a8faa6e05aa7055502 100644
(file)
--- 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;