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/sbus | |
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/sbus')
-rw-r--r-- | drivers/sbus/char/bpp.c | 3 | ||||
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c index e680de41d76..03ff5a3b121 100644 --- a/drivers/sbus/char/bpp.c +++ b/drivers/sbus/char/bpp.c | |||
@@ -1039,9 +1039,6 @@ static void __exit bpp_cleanup(void) | |||
1039 | { | 1039 | { |
1040 | unsigned idx; | 1040 | unsigned idx; |
1041 | 1041 | ||
1042 | for (idx = 0; idx < BPP_NO; idx++) | ||
1043 | devfs_remove("bpp/%d", idx); | ||
1044 | devfs_remove("bpp"); | ||
1045 | unregister_chrdev(BPP_MAJOR, dev_name); | 1042 | unregister_chrdev(BPP_MAJOR, dev_name); |
1046 | 1043 | ||
1047 | for (idx = 0; idx < BPP_NO; idx++) { | 1044 | for (idx = 0; idx < BPP_NO; idx++) { |
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index 5d32384ad72..55b2b31bd7a 100644 --- a/drivers/sbus/char/vfc_dev.c +++ b/drivers/sbus/char/vfc_dev.c | |||
@@ -712,7 +712,6 @@ static void deinit_vfc_device(struct vfc_dev *dev) | |||
712 | { | 712 | { |
713 | if(dev == NULL) | 713 | if(dev == NULL) |
714 | return; | 714 | return; |
715 | devfs_remove("vfc/%d", dev->instance); | ||
716 | sbus_iounmap(dev->regs, sizeof(struct vfc_regs)); | 715 | sbus_iounmap(dev->regs, sizeof(struct vfc_regs)); |
717 | kfree(dev); | 716 | kfree(dev); |
718 | } | 717 | } |
@@ -726,7 +725,6 @@ void cleanup_module(void) | |||
726 | for (devp = vfc_dev_lst; *devp; devp++) | 725 | for (devp = vfc_dev_lst; *devp; devp++) |
727 | deinit_vfc_device(*devp); | 726 | deinit_vfc_device(*devp); |
728 | 727 | ||
729 | devfs_remove("vfc"); | ||
730 | kfree(vfc_dev_lst); | 728 | kfree(vfc_dev_lst); |
731 | return; | 729 | return; |
732 | } | 730 | } |