]> git.baikalelectronics.ru Git - kernel.git/commit
tty: drop tty_schedule_flip()
authorJiri Slaby <jslaby@suse.cz>
Mon, 22 Nov 2021 11:16:48 +0000 (12:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jul 2022 15:14:19 +0000 (17:14 +0200)
commit2c5c39ffad0119b3c3e21b80a4d4f0f4a44bf04a
treece447a0187d444f762ecefe2479e3cb67c9a4d76
parent785b4c355c8a38ba1d32704bf320dddcdc58fc5a
tty: drop tty_schedule_flip()

commit 8ad7f4cff55e68077d638a3386b71c699a572b06 upstream.

Since commit 0aa8fd8ce11e7 (tty: Fix low_latency BUG) in 2014,
tty_flip_buffer_push() is only a wrapper to tty_schedule_flip(). All
users were converted in the previous patches, so remove
tty_schedule_flip() completely while inlining its body into
tty_flip_buffer_push().

One less exported function.

Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20211122111648.30379-4-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c
include/linux/tty_flip.h