summaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-16 02:40:01 -0800
committerEric W. Biederman <ebiederm@xmission.com>2009-11-18 08:14:55 -0800
commit86926d0096279b9739ceeff40f68d3c33b9119a9 (patch)
tree94e51fdbe6e04e41c3fa1d5a28504fd5a33849ff /include/linux/sysctl.h
parent60a0a52df149286a25fddf9b2d0cfe77cf0bc516 (diff)
downloadop-kernel-dev-86926d0096279b9739ceeff40f68d3c33b9119a9.zip
op-kernel-dev-86926d0096279b9739ceeff40f68d3c33b9119a9.tar.gz
sysctl: Remove CTL_NONE and CTL_UNNUMBERED
Now that the sysctl structures no longer have a ctl_name field there is no reason to retain the definitions for CTL_NONE and CTL_UNNUMBERED, or to explain their historic usage. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index b4f6adc..c83a86a 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -15,9 +15,6 @@
** The kernel will then return -ENOTDIR to any application using
** the old binary interface.
**
- ** For new interfaces unless you really need a binary number
- ** please use CTL_UNNUMBERED.
- **
****************************************************************
****************************************************************
*/
@@ -50,12 +47,6 @@ struct __sysctl_args {
/* Top-level names: */
-/* For internal pattern-matching use only: */
-#ifdef __KERNEL__
-#define CTL_NONE 0
-#define CTL_UNNUMBERED CTL_NONE /* sysctl without a binary number */
-#endif
-
enum
{
CTL_KERN=1, /* General kernel info and control */
OpenPOWER on IntegriCloud