summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index fdb0f9b3fe45..3b95795cb640 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
@@ -282,9 +282,7 @@ static int __init misc_init(void)
{
int err;
-#ifdef CONFIG_PROC_FS
proc_create("misc", 0, NULL, &misc_proc_fops);
-#endif
misc_class = class_create(THIS_MODULE, "misc");
err = PTR_ERR(misc_class);
if (IS_ERR(misc_class))