diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-01-09 23:54:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:02:00 -0500 |
commit | d9e39538ce7c52e45e653e777d73ed373189c20d (patch) | |
tree | 66471ccdce44916973b0ab3efc3f5d9fd9ebc223 /drivers/char/ip2/i2lib.c | |
parent | c58cbb6cbb635f53c8b340ae8da9e84b263cc41a (diff) |
[PATCH] clean up computone remaining cli use
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/ip2/i2lib.c')
-rw-r--r-- | drivers/char/ip2/i2lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ip2/i2lib.c b/drivers/char/ip2/i2lib.c index ba85eb1b6ec7..fc944d375be7 100644 --- a/drivers/char/ip2/i2lib.c +++ b/drivers/char/ip2/i2lib.c | |||
@@ -854,7 +854,7 @@ i2Input(i2ChanStrPtr pCh) | |||
854 | count += IBUF_SIZE; | 854 | count += IBUF_SIZE; |
855 | } | 855 | } |
856 | // Don't give more than can be taken by the line discipline | 856 | // Don't give more than can be taken by the line discipline |
857 | amountToMove = pCh->pTTY->ldisc.receive_room( pCh->pTTY ); | 857 | amountToMove = pCh->pTTY->receive_room; |
858 | if (count > amountToMove) { | 858 | if (count > amountToMove) { |
859 | count = amountToMove; | 859 | count = amountToMove; |
860 | } | 860 | } |