aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pty.c')
-rw-r--r--drivers/char/pty.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/char/pty.c b/drivers/char/pty.c
index 6e148ade7353..0fdfa0517140 100644
--- a/drivers/char/pty.c
+++ b/drivers/char/pty.c
@@ -571,8 +571,11 @@ static void __init unix98_pty_init(void)
571 if (tty_register_driver(pts_driver)) 571 if (tty_register_driver(pts_driver))
572 panic("Couldn't register Unix98 pts driver"); 572 panic("Couldn't register Unix98 pts driver");
573 573
574 /* FIXME: WTF */
575#if 0
574 pty_table[1].data = &ptm_driver->refcount; 576 pty_table[1].data = &ptm_driver->refcount;
575 register_sysctl_table(pty_root_table); 577#endif
578 register_sysctl_table(pty_root_table);
576 579
577 /* Now create the /dev/ptmx special device */ 580 /* Now create the /dev/ptmx special device */
578 tty_default_fops(&ptmx_fops); 581 tty_default_fops(&ptmx_fops);