Skip to contentSkip to conversation

synclink_gt remove uneeded async code

PATCH New Paul Fulghum 1 participant 1 message Mar 24, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/char/synclink_gt.c +0 -4
@@ -1762,10 +1762,6 @@ static void rx_async(struct slgt_info *i
 		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++;