From: Paul Fulghum Date: Tue, 28 Mar 2006 09:56:16 +0000 (-0800) Subject: [PATCH] synclink_gt: remove uneeded async code X-Git-Tag: v2.6.17-rc1~256 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=be4676e61f969b624185f14d819adef23d45ffc2;p=linux-2.6-omap-h63xx.git [PATCH] synclink_gt: remove uneeded async code 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 8818042bad7..b4d1f4eea43 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c @@ -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++;