Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 753023dc authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman
Browse files

tty: Fix stale tty_buffer_flush() comment



Commit d7a68be4,
'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: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 95468240
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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'