aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-04-03 08:36:01 -0400
committerEric W. Biederman <ebiederm@xmission.com>2009-11-12 05:05:06 -0500
commit4739a9748e1bd7459f22f7e94e7d85710ca83954 (patch)
tree760aa534c57fbdcfd80076651a7f9248aba75fb0 /include
parentf8572d8f2a2ba75408b97dc24ef47c83671795d7 (diff)
sysctl: Remove the last of the generic binary sysctl support
Now that all of the users stopped using ctl_name and strategy it is safe to remove the fields from struct ctl_table, and it is safe to remove the stub strategy routines as well. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sysctl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 7c4aabc04673..4e40442777cf 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -1033,7 +1033,6 @@ extern ctl_handler sysctl_ms_jiffies;
1033/* A sysctl table is an array of struct ctl_table: */ 1033/* A sysctl table is an array of struct ctl_table: */
1034struct ctl_table 1034struct ctl_table
1035{ 1035{
1036 int ctl_name; /* Binary ID */
1037 const char *procname; /* Text ID for /proc/sys, or zero */ 1036 const char *procname; /* Text ID for /proc/sys, or zero */
1038 void *data; 1037 void *data;
1039 int maxlen; 1038 int maxlen;
@@ -1041,7 +1040,6 @@ struct ctl_table
1041 struct ctl_table *child; 1040 struct ctl_table *child;
1042 struct ctl_table *parent; /* Automatically set */ 1041 struct ctl_table *parent; /* Automatically set */
1043 proc_handler *proc_handler; /* Callback for text formatting */ 1042 proc_handler *proc_handler; /* Callback for text formatting */
1044 ctl_handler *strategy; /* Callback function for all r/w */
1045 void *extra1; 1043 void *extra1;
1046 void *extra2; 1044 void *extra2;
1047}; 1045};
@@ -1075,7 +1073,6 @@ struct ctl_table_header
1075/* struct ctl_path describes where in the hierarchy a table is added */ 1073/* struct ctl_path describes where in the hierarchy a table is added */
1076struct ctl_path { 1074struct ctl_path {
1077 const char *procname; 1075 const char *procname;
1078 int ctl_name;
1079}; 1076};
1080 1077
1081void register_sysctl_root(struct ctl_table_root *root); 1078void register_sysctl_root(struct ctl_table_root *root);