sysctl fs: 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: Jan Harkes <jaharkes@cs.cmu.edu> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
@@ -17,7 +17,6 @@ static struct ctl_table_header *fs_table_header;
|
||||
|
||||
static ctl_table coda_table[] = {
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "timeout",
|
||||
.data = &coda_timeout,
|
||||
.maxlen = sizeof(int),
|
||||
@@ -25,7 +24,6 @@ static ctl_table coda_table[] = {
|
||||
.proc_handler = &proc_dointvec
|
||||
},
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "hard",
|
||||
.data = &coda_hard,
|
||||
.maxlen = sizeof(int),
|
||||
@@ -33,7 +31,6 @@ static ctl_table coda_table[] = {
|
||||
.proc_handler = &proc_dointvec
|
||||
},
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "fake_statfs",
|
||||
.data = &coda_fake_statfs,
|
||||
.maxlen = sizeof(int),
|
||||
@@ -46,7 +43,6 @@ static ctl_table coda_table[] = {
|
||||
#ifdef CONFIG_SYSCTL
|
||||
static ctl_table fs_table[] = {
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "coda",
|
||||
.mode = 0555,
|
||||
.child = coda_table
|
||||
|
Reference in New Issue
Block a user