diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-10 06:35:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 00:13:28 +0100 |
commit | 27228732aa94f3883433fab2f43eee373c638f2f (patch) | |
tree | c6a9caea28f88c0f59da4071579ea7b4fbf4a7eb /drivers/tty/tty_ldisc.c | |
parent | tty: Unexport system-wide tty_mutex (diff) | |
download | linux-27228732aa94f3883433fab2f43eee373c638f2f.tar.xz linux-27228732aa94f3883433fab2f43eee373c638f2f.zip |
tty: Eliminate global symbol tty_ldisc_N_TTY
Reduce global tty symbols; move and rename tty_ldisc_begin() as
n_tty_init() and redefine the N_TTY ldisc ops as file scope.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ldisc.c')
-rw-r--r-- | drivers/tty/tty_ldisc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 4cb5e572c7b8..68947f6de5ad 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c @@ -824,9 +824,3 @@ void tty_ldisc_deinit(struct tty_struct *tty) tty_ldisc_put(tty->ldisc); tty->ldisc = NULL; } - -void tty_ldisc_begin(void) -{ - /* Setup the default TTY line discipline. */ - (void) tty_register_ldisc(N_TTY, &tty_ldisc_N_TTY); -} |