patch-2.2.0-pre8 linux/drivers/char/tty_io.c
Next file: linux/drivers/char/tuner.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Jan 15 17:46:27 1999
- Orig file:
v2.2.0-pre7/linux/drivers/char/tty_io.c
- Orig date:
Fri Jan 8 22:36:05 1999
diff -u --recursive --new-file v2.2.0-pre7/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -89,9 +89,7 @@
#include <linux/vt_kern.h>
#include <linux/selection.h>
-#ifdef CONFIG_KMOD
#include <linux/kmod.h>
-#endif
#define CONSOLE_DEV MKDEV(TTY_MAJOR,0)
#define TTY_DEV MKDEV(TTYAUX_MAJOR,0)
@@ -219,7 +217,6 @@
if ((ldisc < N_TTY) || (ldisc >= NR_LDISCS))
return -EINVAL;
-#ifdef CONFIG_KMOD
/* Eduardo Blanco <ejbs@cs.cs.com.uy> */
/* Cyrus Durgin <cider@speakeasy.org> */
if (!(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED)) {
@@ -227,7 +224,6 @@
sprintf(modname, "tty-ldisc-%d", ldisc);
request_module (modname);
}
-#endif
if (!(ldiscs[ldisc].flags & LDISC_FLAG_DEFINED))
return -EINVAL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov