]> git.karo-electronics.de Git - linux-beck.git/commit
tty: Fix tty_init_termios() declaration
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 05:13:48 +0000 (21:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 22:28:20 +0000 (14:28 -0800)
commita3123fd0a4a5f9d71afa0ffa82e2086281d81822
tree563a30f70d71188c107b242c4735edb0e9fe3435
parenta99cc5d9954651ac7402dcd40b133848303ba596
tty: Fix tty_init_termios() declaration

tty_init_termios() never returns an error; re-declare as void. Remove
unnecessary error handling from callers. Remove extern declarations
of tty_free_termios() and free_tty_struct() and re-declare in file
scope.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
drivers/tty/tty_io.c
drivers/usb/serial/console.c
include/linux/tty.h