sysctl: Remove dead code from sysctl_check
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 3 Apr 2009 09:22:26 +0000 (02:22 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 11 Nov 2009 08:42:53 +0000 (00:42 -0800)
commit83ac201b4f06eb8aeb7ac93cf162651ba30e0b28
tree9b27ff2aa077624ea9548448965ad7fe97577f31
parenta965cf946d38b0ff164a054477a91df70b0dd997
sysctl: Remove dead code from sysctl_check

Now that the sys_sysctl is now a compatibility wrapper around
/proc/sys we can remove much of sysctl_check and reduce it
to a few remaining sanity checks.  This completely decouples
it from the binary sysctl system call.

Little things like ensuring that the sysctl has not already
been registered are all that remain.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
kernel/sysctl_check.c
lib/Kconfig.debug