aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/misc.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/misc.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/misc.c')
-rw-r--r--drivers/char/misc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 71e513771048..bf2e49e11cc0 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
@@ -271,7 +271,6 @@ int misc_deregister(struct miscdevice * misc)
271 down(&misc_sem); 271 down(&misc_sem);
272 list_del(&misc->list); 272 list_del(&misc->list);
273 class_device_destroy(misc_class, MKDEV(MISC_MAJOR, misc->minor)); 273 class_device_destroy(misc_class, MKDEV(MISC_MAJOR, misc->minor));
274 devfs_remove(misc->devfs_name);
275 if (i < DYNAMIC_MINORS && i>0) { 274 if (i < DYNAMIC_MINORS && i>0) {
276 misc_minors[i>>3] &= ~(1 << (misc->minor & 7)); 275 misc_minors[i>>3] &= ~(1 << (misc->minor & 7));
277 } 276 }