aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl_check.c
diff options
context:
space:
mode:
authorDenis Kirjanov <dkirjanov@kernel.org>2011-03-23 19:43:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 22:46:51 -0400
commit256c53a65128cbc8a766b1503f3f25a52a8d07cb (patch)
treeaa15c1cd93ad2d99609016fa0bcf46f305d64d58 /kernel/sysctl_check.c
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>
Diffstat (limited to 'kernel/sysctl_check.c')
-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)
145 if (!table->proc_handler) 145 if (!table->proc_handler)
146 set_fail(&fail, table, "No proc_handler"); 146 set_fail(&fail, table, "No proc_handler");
147#endif 147#endif
148#if 0
149 if (!table->procname && table->proc_handler)
150 set_fail(&fail, table, "proc_handler without procname");
151#endif
152 sysctl_check_leaf(namespaces, table, &fail); 148 sysctl_check_leaf(namespaces, table, &fail);
153 } 149 }
154 if (table->mode > 0777) 150 if (table->mode > 0777)