Skip to content

Commit

Permalink
sysctl: Remove CTL_NONE and CTL_UNNUMBERED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric W. Biederman committed Nov 18, 2009
1 parent 60a0a52 commit 86926d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
22 changes: 0 additions & 22 deletions Documentation/sysctl/ctl_unnumbered.txt

This file was deleted.

9 changes: 0 additions & 9 deletions include/linux/sysctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
**
****************************************************************
****************************************************************
*/
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 86926d0

Please sign in to comment.