aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_devintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ipmi/ipmi_devintf.c')
-rw-r--r--drivers/char/ipmi/ipmi_devintf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_devintf.c b/drivers/char/ipmi/ipmi_devintf.c
index e1c95374984c..55c57451ee1d 100644
--- a/drivers/char/ipmi/ipmi_devintf.c
+++ b/drivers/char/ipmi/ipmi_devintf.c
@@ -872,8 +872,6 @@ static __init int init_ipmi_devintf(void)
872 ipmi_major = rv; 872 ipmi_major = rv;
873 } 873 }
874 874
875 devfs_mk_dir(DEVICE_NAME);
876
877 rv = ipmi_smi_watcher_register(&smi_watcher); 875 rv = ipmi_smi_watcher_register(&smi_watcher);
878 if (rv) { 876 if (rv) {
879 unregister_chrdev(ipmi_major, DEVICE_NAME); 877 unregister_chrdev(ipmi_major, DEVICE_NAME);