* [PATCH] synclink_gt remove uneeded async code
@ 2006-03-24 18:46 Paul Fulghum
0 siblings, 0 replies; only message in thread
From: Paul Fulghum @ 2006-03-24 18:46 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel Mailing List
Remove code in async receive handling that serves
no purpose with new tty receive buffering.
Previously this code tried to free up receive buffer space,
but now does nothing useful while making expensive calls.
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
--- linux-2.6.16/drivers/char/synclink_gt.c 2006-03-24 10:19:43.000000000 -0600
+++ b/drivers/char/synclink_gt.c 2006-03-24 10:21:42.000000000 -0600
@@ -1762,10 +1762,6 @@ static void rx_async(struct slgt_info *i
DBGDATA(info, p, count, "rx");
for(i=0 ; i < count; i+=2, p+=2) {
- if (tty && chars) {
- tty_flip_buffer_push(tty);
- chars = 0;
- }
ch = *p;
icount->rx++;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-24 18:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-24 18:46 [PATCH] synclink_gt remove uneeded async code Paul Fulghum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox