[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:
@@ -515,7 +515,6 @@ out_class:
|
||||
class_destroy(tipar_class);
|
||||
|
||||
out_chrdev:
|
||||
devfs_remove("ticables/par");
|
||||
unregister_chrdev(TIPAR_MAJOR, "tipar");
|
||||
out:
|
||||
return err;
|
||||
@@ -536,10 +535,8 @@ tipar_cleanup_module(void)
|
||||
continue;
|
||||
parport_unregister_device(table[i].dev);
|
||||
class_device_destroy(tipar_class, MKDEV(TIPAR_MAJOR, i));
|
||||
devfs_remove("ticables/par/%d", i);
|
||||
}
|
||||
class_destroy(tipar_class);
|
||||
devfs_remove("ticables/par");
|
||||
|
||||
pr_info("tipar: module unloaded\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user