Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be4676e6 authored by Paul Fulghum's avatar Paul Fulghum Committed by Linus Torvalds
Browse files

[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: default avatarPaul Fulghum <paulkf@microgate.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0080b7aa
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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++;