sysctl ia64: Remove dead binary sysctl support
Now that sys_sysctl is a generic wrapper around /proc/sys .ctl_name and .strategy members of sysctl tables are dead code. Remove them. Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
@@ -89,48 +89,40 @@ static int xpc_disengage_max_timelimit = 120;
|
||||
|
||||
static ctl_table xpc_sys_xpc_hb_dir[] = {
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "hb_interval",
|
||||
.data = &xpc_hb_interval,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec_minmax,
|
||||
.strategy = &sysctl_intvec,
|
||||
.extra1 = &xpc_hb_min_interval,
|
||||
.extra2 = &xpc_hb_max_interval},
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "hb_check_interval",
|
||||
.data = &xpc_hb_check_interval,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec_minmax,
|
||||
.strategy = &sysctl_intvec,
|
||||
.extra1 = &xpc_hb_check_min_interval,
|
||||
.extra2 = &xpc_hb_check_max_interval},
|
||||
{}
|
||||
};
|
||||
static ctl_table xpc_sys_xpc_dir[] = {
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "hb",
|
||||
.mode = 0555,
|
||||
.child = xpc_sys_xpc_hb_dir},
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "disengage_timelimit",
|
||||
.data = &xpc_disengage_timelimit,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = &proc_dointvec_minmax,
|
||||
.strategy = &sysctl_intvec,
|
||||
.extra1 = &xpc_disengage_min_timelimit,
|
||||
.extra2 = &xpc_disengage_max_timelimit},
|
||||
{}
|
||||
};
|
||||
static ctl_table xpc_sys_dir[] = {
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "xpc",
|
||||
.mode = 0555,
|
||||
.child = xpc_sys_xpc_dir},
|
||||
|
Reference in New Issue
Block a user