[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:
@@ -1550,7 +1550,6 @@ static void __exit capi_exit(void)
|
||||
class_device_destroy(capi_class, MKDEV(capi_major, 0));
|
||||
class_destroy(capi_class);
|
||||
unregister_chrdev(capi_major, "capi20");
|
||||
devfs_remove("isdn/capi20");
|
||||
|
||||
#ifdef CONFIG_ISDN_CAPI_MIDDLEWARE
|
||||
capinc_tty_exit();
|
||||
|
||||
@@ -178,7 +178,6 @@ static struct file_operations divas_maint_fops = {
|
||||
|
||||
static void divas_maint_unregister_chrdev(void)
|
||||
{
|
||||
devfs_remove(DEVNAME);
|
||||
unregister_chrdev(major, DEVNAME);
|
||||
}
|
||||
|
||||
|
||||
@@ -145,7 +145,6 @@ static struct file_operations divas_idi_fops = {
|
||||
|
||||
static void divas_idi_unregister_chrdev(void)
|
||||
{
|
||||
devfs_remove(DEVNAME);
|
||||
unregister_chrdev(major, DEVNAME);
|
||||
}
|
||||
|
||||
|
||||
@@ -678,7 +678,6 @@ static struct file_operations divas_fops = {
|
||||
|
||||
static void divas_unregister_chrdev(void)
|
||||
{
|
||||
devfs_remove(DEVNAME);
|
||||
unregister_chrdev(major, DEVNAME);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user