[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>
This commit is contained in:
Alan Cox
2006-01-09 20:54:20 -08:00
committed by Linus Torvalds
parent c58cbb6cbb
commit d9e39538ce
2 changed files with 16 additions and 12 deletions

View File

@@ -854,7 +854,7 @@ i2Input(i2ChanStrPtr pCh)
count += IBUF_SIZE;
}
// Don't give more than can be taken by the line discipline
amountToMove = pCh->pTTY->ldisc.receive_room( pCh->pTTY );
amountToMove = pCh->pTTY->receive_room;
if (count > amountToMove) {
count = amountToMove;
}