diff options
Diffstat (limited to 'drivers/char/vc_screen.c')
-rw-r--r-- | drivers/char/vc_screen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/vc_screen.c b/drivers/char/vc_screen.c index 1633d8206524..2266fbad62c4 100644 --- a/drivers/char/vc_screen.c +++ b/drivers/char/vc_screen.c | |||
@@ -485,8 +485,6 @@ void vcs_make_devfs(struct tty_struct *tty) | |||
485 | } | 485 | } |
486 | void vcs_remove_devfs(struct tty_struct *tty) | 486 | void vcs_remove_devfs(struct tty_struct *tty) |
487 | { | 487 | { |
488 | devfs_remove("vcc/%u", tty->index + 1); | ||
489 | devfs_remove("vcc/a%u", tty->index + 1); | ||
490 | class_device_destroy(vc_class, MKDEV(VCS_MAJOR, tty->index + 1)); | 488 | class_device_destroy(vc_class, MKDEV(VCS_MAJOR, tty->index + 1)); |
491 | class_device_destroy(vc_class, MKDEV(VCS_MAJOR, tty->index + 129)); | 489 | class_device_destroy(vc_class, MKDEV(VCS_MAJOR, tty->index + 129)); |
492 | } | 490 | } |