diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-16 05:30:16 -0500 |
|---|---|---|
| committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-18 10:06:48 -0500 |
| commit | 60a0a52df149286a25fddf9b2d0cfe77cf0bc516 (patch) | |
| tree | c169f1a790357fb5ea1ca9780e28af12d31c0ece /include/linux | |
| parent | bb9074ff58fe745e4f244f76209241909c82ec9c (diff) | |
sysctl: kill dead ctl_handler definitions.
When removing the sysctl strategy routines I overlooked their definitions
in sysctl.h. So remove those unnecessary definitions now.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sysctl.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 4e40442777cf..b4f6adc6a02c 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
| @@ -972,10 +972,6 @@ extern int sysctl_perm(struct ctl_table_root *root, | |||
| 972 | 972 | ||
| 973 | typedef struct ctl_table ctl_table; | 973 | typedef struct ctl_table ctl_table; |
| 974 | 974 | ||
| 975 | typedef int ctl_handler (struct ctl_table *table, | ||
| 976 | void __user *oldval, size_t __user *oldlenp, | ||
| 977 | void __user *newval, size_t newlen); | ||
| 978 | |||
| 979 | typedef int proc_handler (struct ctl_table *ctl, int write, | 975 | typedef int proc_handler (struct ctl_table *ctl, int write, |
| 980 | void __user *buffer, size_t *lenp, loff_t *ppos); | 976 | void __user *buffer, size_t *lenp, loff_t *ppos); |
| 981 | 977 | ||
| @@ -996,13 +992,6 @@ extern int proc_doulongvec_minmax(struct ctl_table *, int, | |||
| 996 | extern int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int, | 992 | extern int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int, |
| 997 | void __user *, size_t *, loff_t *); | 993 | void __user *, size_t *, loff_t *); |
| 998 | 994 | ||
| 999 | extern ctl_handler sysctl_data; | ||
| 1000 | extern ctl_handler sysctl_string; | ||
| 1001 | extern ctl_handler sysctl_intvec; | ||
| 1002 | extern ctl_handler sysctl_jiffies; | ||
| 1003 | extern ctl_handler sysctl_ms_jiffies; | ||
| 1004 | |||
| 1005 | |||
| 1006 | /* | 995 | /* |
| 1007 | * Register a set of sysctl names by calling register_sysctl_table | 996 | * Register a set of sysctl names by calling register_sysctl_table |
| 1008 | * with an initialised array of struct ctl_table's. An entry with | 997 | * with an initialised array of struct ctl_table's. An entry with |
