tty: Fix stale tty_buffer_flush() comment
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 2 Dec 2013 21:12:02 +0000 (16:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 01:10:26 +0000 (17:10 -0800)
Commit d7a68be4f265be10e24be931c257af30ca55566b,
'tty: Only perform flip buffer flush from tty_buffer_flush()',
removed buffer flushing from flush_to_ldisc().

Fix function header comment which describes the former behavior.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c

index 6454c0a747ef935805e84e921a954529e5b9d76c..08835a6dd022a46c69b0092abc041f018fb7dae8 100644 (file)
@@ -201,9 +201,7 @@ static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b)
  *     tty_buffer_flush                -       flush full tty buffers
  *     @tty: tty to flush
  *
- *     flush all the buffers containing receive data. If the buffer is
- *     being processed by flush_to_ldisc then we defer the processing
- *     to that function
+ *     flush all the buffers containing receive data.
  *
  *     Locking: takes buffer lock to ensure single-threaded flip buffer
  *              'consumer'