diff options
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); |