summaryrefslogtreecommitdiff
path: root/drivers/tty/n_tty.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-30 08:35:35 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-30 08:35:35 +0400
commit1651d0a9be0009460c5fdc822505749f295c5ba9 (patch)
treeb4a0c67a5a06cce42bfe5f3648e105c054dfd391 /drivers/tty/n_tty.c
parent9f9cba810f36d16f4e64477e879a69f6c47b389d (diff)
downloadlinux-1651d0a9be0009460c5fdc822505749f295c5ba9.tar.xz
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)
ldata->canon_head = ldata->canon_data = ldata->erasing = 0;
bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE);
n_tty_set_room(tty);
-
- check_unthrottle(tty);
}
/**