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/char/vfc_dev.c | |
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/char/vfc_dev.c')
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index 5d32384ad728..55b2b31bd7ab 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 | } |