Revert "n_tty: Unthrottle tty when flushing read buffer"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:35:35 +0000 (23:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:35:35 +0000 (23:35 -0500)
This reverts commit 58f82be334ede87aa6ff6fa1afdb05552be907be.

This was fixed by a previous patch already.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c

index d5cea3bb01eaeec61b577de6c58a8000412c0c37..19083efa2314660b25e0fb5bc793af6fb7e9af57 100644 (file)
@@ -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);
 }
 
 /**