diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2017-03-24 08:38:20 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2017-04-16 23:42:49 -0500 |
commit | b54807fa52ae21bdf6bad72b0f00fd400af412eb (patch) | |
tree | 041467728821beb35ca45d0946a8e24b77e74fc9 /net/sysctl_net.c | |
parent | 040757f738e13caaa9c5078bca79aa97e11dde88 (diff) | |
download | linux-b54807fa52ae21bdf6bad72b0f00fd400af412eb.tar.gz linux-b54807fa52ae21bdf6bad72b0f00fd400af412eb.tar.bz2 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 'net/sysctl_net.c')
-rw-r--r-- | net/sysctl_net.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sysctl_net.c b/net/sysctl_net.c index 919981324171..9aed6fe1bf1a 100644 --- a/net/sysctl_net.c +++ b/net/sysctl_net.c @@ -106,7 +106,6 @@ __init int net_sysctl_init(void) ret = register_pernet_subsys(&sysctl_pernet_ops); if (ret) goto out1; - register_sysctl_root(&net_sysctl_root); out: return ret; out1: |