sysctl frv: 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: David Howells <dhowells@redhat.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
@@ -176,7 +176,6 @@ static int procctl_frv_pin_cxnr(ctl_table *table, int write, struct file *filp,
|
||||
static struct ctl_table frv_table[] =
|
||||
{
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERD,
|
||||
.procname = "cache-mode",
|
||||
.data = NULL,
|
||||
.maxlen = 0,
|
||||
@@ -185,7 +184,6 @@ static struct ctl_table frv_table[] =
|
||||
},
|
||||
#ifdef CONFIG_MMU
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERD,
|
||||
.procname = "pin-cxnr",
|
||||
.data = NULL,
|
||||
.maxlen = 0,
|
||||
@@ -203,7 +201,6 @@ static struct ctl_table frv_table[] =
|
||||
static struct ctl_table frv_dir_table[] =
|
||||
{
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
.procname = "frv",
|
||||
.mode = 0555,
|
||||
.child = frv_table
|
||||
|
Reference in New Issue
Block a user