aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/vc_screen.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:07 -0400
commit8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch)
treeb851d4c1fdbd396379279e4475f7f778a667a208 /drivers/char/vc_screen.c
parent7c69ef79741910883d5543caafa06aca3ebadbd1 (diff)
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/vc_screen.c')
-rw-r--r--drivers/char/vc_screen.c2
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}
486void vcs_remove_devfs(struct tty_struct *tty) 486void 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}