summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Kirjanov <dkirjanov@kernel.org>2011-03-23 16:43:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 19:46:51 -0700
commit256c53a65128cbc8a766b1503f3f25a52a8d07cb (patch)
treeaa15c1cd93ad2d99609016fa0bcf46f305d64d58
parent814ecf6e5b7854504ae83255173e53836c5d8420 (diff)
sysctl_check: drop dead code
Drop dead code. Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/sysctl_check.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
index 3a01c3e46494..4e4932a7b360 100644
--- a/kernel/sysctl_check.c
+++ b/kernel/sysctl_check.c
@@ -145,10 +145,6 @@ int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table)
if (!table->proc_handler)
set_fail(&fail, table, "No proc_handler");
#endif
-#if 0
- if (!table->procname && table->proc_handler)
- set_fail(&fail, table, "proc_handler without procname");
-#endif
sysctl_check_leaf(namespaces, table, &fail);
}
if (table->mode > 0777)