aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorPaul Fulghum <paulkf@microgate.com>2006-03-28 04:56:16 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-28 12:16:02 -0500
commitbe4676e61f969b624185f14d819adef23d45ffc2 (patch)
treea8dcd2380ca0fce83a0e3e093a25f0b0ca87b256 /drivers/char
parent0080b7aae88c75e2a6b38dfcb228b0f239e18e3c (diff)
[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 <paulkf@microgate.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/synclink_gt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c
index 8818042bad7c..b4d1f4eea435 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)
1793 DBGDATA(info, p, count, "rx"); 1793 DBGDATA(info, p, count, "rx");
1794 1794
1795 for(i=0 ; i < count; i+=2, p+=2) { 1795 for(i=0 ; i < count; i+=2, p+=2) {
1796 if (tty && chars) {
1797 tty_flip_buffer_push(tty);
1798 chars = 0;
1799 }
1800 ch = *p; 1796 ch = *p;
1801 icount->rx++; 1797 icount->rx++;
1802 1798