diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-04-03 08:36:01 -0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 05:05:06 -0500 |
commit | 4739a9748e1bd7459f22f7e94e7d85710ca83954 (patch) | |
tree | 760aa534c57fbdcfd80076651a7f9248aba75fb0 /kernel/sysctl.c | |
parent | f8572d8f2a2ba75408b97dc24ef47c83671795d7 (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 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b6b6eb1abebb..b4a5763d6dc8 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -1699,8 +1699,6 @@ static void try_attach(struct ctl_table_header *p, struct ctl_table_header *q) | |||
1699 | * | 1699 | * |
1700 | * The members of the &struct ctl_table structure are used as follows: | 1700 | * The members of the &struct ctl_table structure are used as follows: |
1701 | * | 1701 | * |
1702 | * ctl_name - Dead | ||
1703 | * | ||
1704 | * procname - the name of the sysctl file under /proc/sys. Set to %NULL to not | 1702 | * procname - the name of the sysctl file under /proc/sys. Set to %NULL to not |
1705 | * enter a sysctl file | 1703 | * enter a sysctl file |
1706 | * | 1704 | * |
@@ -1715,8 +1713,6 @@ static void try_attach(struct ctl_table_header *p, struct ctl_table_header *q) | |||
1715 | * | 1713 | * |
1716 | * proc_handler - the text handler routine (described below) | 1714 | * proc_handler - the text handler routine (described below) |
1717 | * | 1715 | * |
1718 | * strategy - Dead | ||
1719 | * | ||
1720 | * de - for internal use by the sysctl routines | 1716 | * de - for internal use by the sysctl routines |
1721 | * | 1717 | * |
1722 | * extra1, extra2 - extra pointers usable by the proc handler routines | 1718 | * extra1, extra2 - extra pointers usable by the proc handler routines |
@@ -2639,41 +2635,6 @@ int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, | |||
2639 | 2635 | ||
2640 | #endif /* CONFIG_PROC_FS */ | 2636 | #endif /* CONFIG_PROC_FS */ |
2641 | 2637 | ||
2642 | int sysctl_data(struct ctl_table *table, | ||
2643 | void __user *oldval, size_t __user *oldlenp, | ||
2644 | void __user *newval, size_t newlen) | ||
2645 | { | ||
2646 | return -ENOSYS; | ||
2647 | } | ||
2648 | |||
2649 | int sysctl_string(struct ctl_table *table, | ||
2650 | void __user *oldval, size_t __user *oldlenp, | ||
2651 | void __user *newval, size_t newlen) | ||
2652 | { | ||
2653 | return -ENOSYS; | ||
2654 | } | ||
2655 | |||
2656 | int sysctl_intvec(struct ctl_table *table, | ||
2657 | void __user *oldval, size_t __user *oldlenp, | ||
2658 | void __user *newval, size_t newlen) | ||
2659 | { | ||
2660 | return -ENOSYS; | ||
2661 | } | ||
2662 | |||
2663 | int sysctl_jiffies(struct ctl_table *table, | ||
2664 | void __user *oldval, size_t __user *oldlenp, | ||
2665 | void __user *newval, size_t newlen) | ||
2666 | { | ||
2667 | return -ENOSYS; | ||
2668 | } | ||
2669 | |||
2670 | int sysctl_ms_jiffies(struct ctl_table *table, | ||
2671 | void __user *oldval, size_t __user *oldlenp, | ||
2672 | void __user *newval, size_t newlen) | ||
2673 | { | ||
2674 | return -ENOSYS; | ||
2675 | } | ||
2676 | |||
2677 | /* | 2638 | /* |
2678 | * No sense putting this after each symbol definition, twice, | 2639 | * No sense putting this after each symbol definition, twice, |
2679 | * exception granted :-) | 2640 | * exception granted :-) |
@@ -2688,9 +2649,4 @@ EXPORT_SYMBOL(proc_doulongvec_minmax); | |||
2688 | EXPORT_SYMBOL(proc_doulongvec_ms_jiffies_minmax); | 2649 | EXPORT_SYMBOL(proc_doulongvec_ms_jiffies_minmax); |
2689 | EXPORT_SYMBOL(register_sysctl_table); | 2650 | EXPORT_SYMBOL(register_sysctl_table); |
2690 | EXPORT_SYMBOL(register_sysctl_paths); | 2651 | EXPORT_SYMBOL(register_sysctl_paths); |
2691 | EXPORT_SYMBOL(sysctl_intvec); | ||
2692 | EXPORT_SYMBOL(sysctl_jiffies); | ||
2693 | EXPORT_SYMBOL(sysctl_ms_jiffies); | ||
2694 | EXPORT_SYMBOL(sysctl_string); | ||
2695 | EXPORT_SYMBOL(sysctl_data); | ||
2696 | EXPORT_SYMBOL(unregister_sysctl_table); | 2652 | EXPORT_SYMBOL(unregister_sysctl_table); |