sysctl: remove CONFIG_HOTPLUG ifdefs
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>
This commit is contained in:
parent
1c9a9f5914
commit
3b572b506c
|
@ -565,7 +565,7 @@ static struct ctl_table kern_table[] = {
|
||||||
.extra2 = &one,
|
.extra2 = &one,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_HOTPLUG
|
|
||||||
{
|
{
|
||||||
.procname = "hotplug",
|
.procname = "hotplug",
|
||||||
.data = &uevent_helper,
|
.data = &uevent_helper,
|
||||||
|
@ -573,7 +573,7 @@ static struct ctl_table kern_table[] = {
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_dostring,
|
.proc_handler = proc_dostring,
|
||||||
},
|
},
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_CHR_DEV_SG
|
#ifdef CONFIG_CHR_DEV_SG
|
||||||
{
|
{
|
||||||
.procname = "sg-big-buff",
|
.procname = "sg-big-buff",
|
||||||
|
|
Loading…
Reference in New Issue