patch-2.2.0-pre4 linux/drivers/char/tty_io.c
Next file: linux/drivers/misc/parport_arc.c
Previous file: linux/drivers/char/misc.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Sat Jan 2 17:55:05 1999
- Orig file:
v2.2.0-pre3/linux/drivers/char/tty_io.c
- Orig date:
Wed Dec 16 10:32:55 1998
diff -u --recursive --new-file v2.2.0-pre3/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -77,9 +77,7 @@
#include <linux/string.h>
#include <linux/malloc.h>
#include <linux/poll.h>
-#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
-#endif
#include <linux/init.h>
#include <linux/smp_lock.h>
@@ -1966,9 +1964,7 @@
if (tty_drivers) tty_drivers->prev = driver;
tty_drivers = driver;
-#ifdef CONFIG_PROC_FS
proc_tty_register_driver(driver);
-#endif
return error;
}
@@ -2010,9 +2006,7 @@
if (driver->next)
driver->next->prev = driver->prev;
-#ifdef CONFIG_PROC_FS
proc_tty_unregister_driver(driver);
-#endif
return 0;
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]