[PATCH] synclink_gt: remove uneeded async code
authorPaul Fulghum <paulkf@microgate.com>
Tue, 28 Mar 2006 09:56:16 +0000 (01:56 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 28 Mar 2006 17:16:02 +0000 (09:16 -0800)
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/synclink_gt.c

index 8818042bad7cdc1703a950d9e4e6f4a55a44a48d..b4d1f4eea435afe1eccf7cc11788dd9184f2a7c4 100644 (file)
@@ -1793,10 +1793,6 @@ static void rx_async(struct slgt_info *info)
                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++;