From: Greg Kroah-Hartman Date: Wed, 30 Jan 2013 04:35:35 +0000 (-0500) Subject: Revert "n_tty: Unthrottle tty when flushing read buffer" X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1651d0a9be0009460c5fdc822505749f295c5ba9;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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); } /**