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/char/ipmi/ipmi_devintf.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/char/ipmi/ipmi_devintf.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_devintf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_devintf.c b/drivers/char/ipmi/ipmi_devintf.c index ec22aba12be9..3103ed8e3adc 100644 --- a/drivers/char/ipmi/ipmi_devintf.c +++ b/drivers/char/ipmi/ipmi_devintf.c | |||
@@ -833,7 +833,6 @@ static void ipmi_smi_gone(int if_num) | |||
833 | } | 833 | } |
834 | class_device_destroy(ipmi_class, dev); | 834 | class_device_destroy(ipmi_class, dev); |
835 | mutex_unlock(®_list_mutex); | 835 | mutex_unlock(®_list_mutex); |
836 | devfs_remove("ipmidev/%d", if_num); | ||
837 | } | 836 | } |
838 | 837 | ||
839 | static struct ipmi_smi_watcher smi_watcher = | 838 | static struct ipmi_smi_watcher smi_watcher = |
@@ -893,7 +892,6 @@ static __exit void cleanup_ipmi(void) | |||
893 | mutex_unlock(®_list_mutex); | 892 | mutex_unlock(®_list_mutex); |
894 | class_destroy(ipmi_class); | 893 | class_destroy(ipmi_class); |
895 | ipmi_smi_watcher_unregister(&smi_watcher); | 894 | ipmi_smi_watcher_unregister(&smi_watcher); |
896 | devfs_remove(DEVICE_NAME); | ||
897 | unregister_chrdev(ipmi_major, DEVICE_NAME); | 895 | unregister_chrdev(ipmi_major, DEVICE_NAME); |
898 | } | 896 | } |
899 | module_exit(cleanup_ipmi); | 897 | module_exit(cleanup_ipmi); |