diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-12-02 16:12:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 20:10:26 -0500 |
commit | 753023dcdd2da515f991aa0e6a65016713f0c24f (patch) | |
tree | 89a1bce6afe326dab4689bd6620da1df85141262 /drivers/tty/tty_buffer.c | |
parent | 95468240d833314995e482bd4c75cfe660919e9a (diff) |
tty: Fix stale tty_buffer_flush() comment
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>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
-rw-r--r-- | drivers/tty/tty_buffer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c index 6454c0a747ef..08835a6dd022 100644 --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c | |||
@@ -201,9 +201,7 @@ static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) | |||
201 | * tty_buffer_flush - flush full tty buffers | 201 | * tty_buffer_flush - flush full tty buffers |
202 | * @tty: tty to flush | 202 | * @tty: tty to flush |
203 | * | 203 | * |
204 | * flush all the buffers containing receive data. If the buffer is | 204 | * flush all the buffers containing receive data. |
205 | * being processed by flush_to_ldisc then we defer the processing | ||
206 | * to that function | ||
207 | * | 205 | * |
208 | * Locking: takes buffer lock to ensure single-threaded flip buffer | 206 | * Locking: takes buffer lock to ensure single-threaded flip buffer |
209 | * 'consumer' | 207 | * 'consumer' |