tty: Don't reenable already enabled ldisc
[firefly-linux-kernel-4.4.55.git] / include / linux / tty.h
index 66ae020e8a980e2ba8ad0f9c6307e847920ba41c..367a9dfc4ea2464c35ffe8c773c5cb8f04e3df86 100644 (file)
@@ -561,8 +561,6 @@ extern void tty_ldisc_release(struct tty_struct *tty, struct tty_struct *o_tty);
 extern void tty_ldisc_init(struct tty_struct *tty);
 extern void tty_ldisc_deinit(struct tty_struct *tty);
 extern void tty_ldisc_begin(void);
-/* This last one is just for the tty layer internals and shouldn't be used elsewhere */
-extern void tty_ldisc_enable(struct tty_struct *tty);
 
 
 /* n_tty.c */