# \[PATCH v2 0/3\] tty: drop tty\_schedule\_flip()

- From: Jiri Slaby \<hidden\>
- Date: 2021-11-22 11:16:54 
- List: linux-serial
- Page: https://ratatoskr.run/linux-serial/2021/11/1581530
- Thread: https://ratatoskr.run/linux-serial/2021/11/1581530/t.md

```text
There are two identical functions: tty_schedule_flip and
tty_flip_buffer_push. Remove the former.

This is [v2] as [v1] was dropping tty_flip_buffer_push. And
tty_flip_buffer_push is spread wider, so remove the less used one as
proposed by Johan.

Jiri Slaby (3):
  tty: drivers/tty/, stop using tty_schedule_flip()
  tty: the rest, stop using tty_schedule_flip()
  tty: drop tty_schedule_flip()

 arch/alpha/kernel/srmcons.c               |  2 +-
 drivers/accessibility/speakup/spk_ttyio.c |  4 +--
 drivers/s390/char/keyboard.h              |  4 +--
 drivers/tty/goldfish.c                    |  2 +-
 drivers/tty/moxa.c                        |  4 +--
 drivers/tty/serial/lpc32xx_hs.c           |  2 +-
 drivers/tty/tty_buffer.c                  | 30 ++++++-----------------
 drivers/tty/vt/keyboard.c                 |  6 ++---
 drivers/tty/vt/vt.c                       |  2 +-
 include/linux/tty_flip.h                  |  1 -
 10 files changed, 21 insertions(+), 36 deletions(-)

-- 
2.33.1

```
