mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
sysctl s390: Remove dead sysctl binary 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: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
parent
67a7e4f8bd
commit
b05fd35d91
3 changed files with 6 additions and 13 deletions
|
@ -893,35 +893,30 @@ s390dbf_procactive(ctl_table *table, int write,
|
|||
|
||||
static struct ctl_table s390dbf_table[] = {
|
||||
{
|
||||
.ctl_name = CTL_S390DBF_STOPPABLE,
|
||||
.procname = "debug_stoppable",
|
||||
.data = &debug_stoppable,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = S_IRUGO | S_IWUSR,
|
||||
.proc_handler = &proc_dointvec,
|
||||
.strategy = &sysctl_intvec,
|
||||
},
|
||||
{
|
||||
.ctl_name = CTL_S390DBF_ACTIVE,
|
||||
.procname = "debug_active",
|
||||
.data = &debug_active,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = S_IRUGO | S_IWUSR,
|
||||
.proc_handler = &s390dbf_procactive,
|
||||
.strategy = &sysctl_intvec,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
static struct ctl_table s390dbf_dir_table[] = {
|
||||
{
|
||||
.ctl_name = CTL_S390DBF,
|
||||
.procname = "s390dbf",
|
||||
.maxlen = 0,
|
||||
.mode = S_IRUGO | S_IXUGO,
|
||||
.child = s390dbf_table,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
static struct ctl_table_header *s390dbf_sysctl_header;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue