[PATCH] synclink_gt remove uneeded async code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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++;
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux