mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0080b7aae8
commit
be4676e61f
1 changed files with 0 additions and 4 deletions
|
|
@ -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++;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue