aboutsummaryrefslogtreecommitdiff
path: root/arch/um/drivers/line.h
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-06-15 09:48:56 +0200
committerGreg Kroah-Hartman <[email protected]>2020-06-24 16:53:37 +0200
commit96564ac680b448b9152a22d1897b55d2cdc41652 (patch)
tree46dc742092805c54355f5cdb05f2573cab67fb9c /arch/um/drivers/line.h
parent48778464bb7d346b47157d21ffde2af6b2d39110 (diff)
um: line, remove put_char
um's put_char only calls write. And the tty layer/disciplines do the same if put_char is NULL. So we can safely remove this put_char wrapper. Signed-off-by: Jiri Slaby <[email protected]> Cc: Jeff Dike <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Anton Ivanov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/um/drivers/line.h')
-rw-r--r--arch/um/drivers/line.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h
index a151ff5155ef..01d21e76144f 100644
--- a/arch/um/drivers/line.h
+++ b/arch/um/drivers/line.h
@@ -66,7 +66,6 @@ extern int line_setup(char **conf, unsigned nlines, char **def,
char *init, char *name);
extern int line_write(struct tty_struct *tty, const unsigned char *buf,
int len);
-extern int line_put_char(struct tty_struct *tty, unsigned char ch);
extern void line_set_termios(struct tty_struct *tty, struct ktermios * old);
extern int line_chars_in_buffer(struct tty_struct *tty);
extern void line_flush_buffer(struct tty_struct *tty);