Skip to content

Commit

Permalink
[PATCH] synclink_gt: remove uneeded async code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Fulghum authored and Linus Torvalds committed Mar 28, 2006
1 parent 0080b7a commit be4676e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/char/synclink_gt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;

Expand Down

0 comments on commit be4676e

Please sign in to comment.