diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:07 -0400 |
| commit | 8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch) | |
| tree | b851d4c1fdbd396379279e4475f7f778a667a208 /drivers/char/tty_io.c | |
| parent | 7c69ef79741910883d5543caafa06aca3ebadbd1 (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/tty_io.c')
| -rw-r--r-- | drivers/char/tty_io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 0b9a33c0f1bd..b8e03a31a502 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
| @@ -2997,7 +2997,6 @@ struct class_device *tty_register_device(struct tty_driver *driver, | |||
| 2997 | */ | 2997 | */ |
| 2998 | void tty_unregister_device(struct tty_driver *driver, unsigned index) | 2998 | void tty_unregister_device(struct tty_driver *driver, unsigned index) |
| 2999 | { | 2999 | { |
| 3000 | devfs_remove("%s%d", driver->devfs_name, index + driver->name_base); | ||
| 3001 | class_device_destroy(tty_class, MKDEV(driver->major, driver->minor_start) + index); | 3000 | class_device_destroy(tty_class, MKDEV(driver->major, driver->minor_start) + index); |
| 3002 | } | 3001 | } |
| 3003 | 3002 | ||
