sysctl: remove CONFIG_HOTPLUG ifdefs
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:19:29 +0000 (13:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 18:33:03 +0000 (10:33 -0800)
Remove conditional code based on CONFIG_HOTPLUG being false.  It's
always on now in preparation of it going away as an option.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/sysctl.c

index 26f65eaa01f9c94366aa5156f9c304bbc589808f..33f71f37267e48e2b2b59b4d11f93761dc1e9e89 100644 (file)
@@ -565,7 +565,7 @@ static struct ctl_table kern_table[] = {
                .extra2         = &one,
        },
 #endif
-#ifdef CONFIG_HOTPLUG
+
        {
                .procname       = "hotplug",
                .data           = &uevent_helper,
@@ -573,7 +573,7 @@ static struct ctl_table kern_table[] = {
                .mode           = 0644,
                .proc_handler   = proc_dostring,
        },
-#endif
+
 #ifdef CONFIG_CHR_DEV_SG
        {
                .procname       = "sg-big-buff",