Commit 1651d0a9 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "n_tty: Unthrottle tty when flushing read buffer"

This reverts commit 58f82be3.

This was fixed by a previous patch already.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9f9cba81
...@@ -229,8 +229,6 @@ static void reset_buffer_flags(struct tty_struct *tty) ...@@ -229,8 +229,6 @@ static void reset_buffer_flags(struct tty_struct *tty)
ldata->canon_head = ldata->canon_data = ldata->erasing = 0; ldata->canon_head = ldata->canon_data = ldata->erasing = 0;
bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE); bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE);
n_tty_set_room(tty); n_tty_set_room(tty);
check_unthrottle(tty);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment