[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>
This commit is contained in:
@@ -2997,7 +2997,6 @@ struct class_device *tty_register_device(struct tty_driver *driver,
|
||||
*/
|
||||
void tty_unregister_device(struct tty_driver *driver, unsigned index)
|
||||
{
|
||||
devfs_remove("%s%d", driver->devfs_name, index + driver->name_base);
|
||||
class_device_destroy(tty_class, MKDEV(driver->major, driver->minor_start) + index);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user