diff options
| author | Anton Blanchard <anton@samba.org> | 2003-09-09 19:39:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-09 19:39:47 -0700 |
| commit | bda366d744be7e7496ee78a5c663881cfb301ebc (patch) | |
| tree | e1d2c436570cfde98a7921775fd6c5ae457da6f7 | |
| parent | 83bf06e8f88bffeee5567f5902a0f1dcf996944b (diff) | |
[PATCH] fix oops in hvc_console
tty_register_driver already calls tty_register_device so there is no need
to do it in hvc_console. Besides, it oopses when we do that.
| -rw-r--r-- | drivers/char/hvc_console.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c index f83fc128674d..530d9067e300 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c @@ -284,9 +284,6 @@ int __init hvc_init(void) if (tty_register_driver(hvc_driver)) panic("Couldn't register hvc console driver\n"); - for (i = 0; i < num; i++) - tty_register_device(hvc_driver, i, NULL); - if (num > 0) kernel_thread(khvcd, NULL, CLONE_KERNEL); |
