diff options
author | Eric W. Biederman | 2017-03-24 14:38:20 +0100 |
---|---|---|
committer | Eric W. Biederman | 2017-04-17 06:42:49 +0200 |
commit | b54807fa52ae21bdf6bad72b0f00fd400af412eb (patch) | |
tree | 041467728821beb35ca45d0946a8e24b77e74fc9 /include/linux/sysctl.h | |
parent | ucount: Remove the atomicity from ucount->count (diff) | |
download | kernel-qcow2-linux-b54807fa52ae21bdf6bad72b0f00fd400af412eb.tar.gz kernel-qcow2-linux-b54807fa52ae21bdf6bad72b0f00fd400af412eb.tar.xz kernel-qcow2-linux-b54807fa52ae21bdf6bad72b0f00fd400af412eb.zip |
sysctl: Remove dead register_sysctl_root
The function no longer does anything. The is only a single caller of
register_sysctl_root when semantically there should be two. Remove
this function so that if someone decides this functionality is needed
again it will be obvious all of the callers of setup_sysctl_set need
to be audited and modified appropriately.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index b7e82049fec7..80d07816def0 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -180,7 +180,6 @@ extern void setup_sysctl_set(struct ctl_table_set *p, int (*is_seen)(struct ctl_table_set *)); extern void retire_sysctl_set(struct ctl_table_set *set); -void register_sysctl_root(struct ctl_table_root *root); struct ctl_table_header *__register_sysctl_table( struct ctl_table_set *set, const char *path, struct ctl_table *table); |