From: Jiri Slaby Date: Tue, 14 Sep 2021 09:11:19 +0000 (+0200) Subject: tty: unexport tty_ldisc_release X-Git-Tag: v5.15~189^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7049d853cfb928f50b6041cb4a5c6d6c1d8dd201;p=platform%2Fkernel%2Flinux-starfive.git tty: unexport tty_ldisc_release Initially, tty_ldisc_release() was exported for speakup (spk_tty) while in staging. Later, the call to this function was removed as it was bogus anyway. Remove the export now. Signed-off-by: Jiri Slaby Link: https://lore.kernel.org/r/20210914091134.17426-1-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 756a4bf..3e4e0b2 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c @@ -812,7 +812,6 @@ void tty_ldisc_release(struct tty_struct *tty) tty_ldisc_debug(tty, "released\n"); } -EXPORT_SYMBOL_GPL(tty_ldisc_release); /** * tty_ldisc_init - ldisc setup for new tty