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>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user