aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tty.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-29 23:35:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-29 23:35:35 -0500
commit1651d0a9be0009460c5fdc822505749f295c5ba9 (patch)
treeb4a0c67a5a06cce42bfe5f3648e105c054dfd391 /drivers/tty/n_tty.c
parent9f9cba810f36d16f4e64477e879a69f6c47b389d (diff)
Revert "n_tty: Unthrottle tty when flushing read buffer"
This reverts commit 58f82be334ede87aa6ff6fa1afdb05552be907be. This was fixed by a previous patch already. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
-rw-r--r--drivers/tty/n_tty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c
index d5cea3bb01ea..19083efa2314 100644
--- a/drivers/tty/n_tty.c
+++ b/drivers/tty/n_tty.c
@@ -229,8 +229,6 @@ static void reset_buffer_flags(struct tty_struct *tty)
229 ldata->canon_head = ldata->canon_data = ldata->erasing = 0; 229 ldata->canon_head = ldata->canon_data = ldata->erasing = 0;
230 bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE); 230 bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE);
231 n_tty_set_room(tty); 231 n_tty_set_room(tty);
232
233 check_unthrottle(tty);
234} 232}
235 233
236/** 234/**