Commit 256c53a6 authored by Denis Kirjanov's avatar Denis Kirjanov Committed by Linus Torvalds

sysctl_check: drop dead code

Drop dead code.
Signed-off-by: default avatarDenis Kirjanov <dkirjanov@kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 814ecf6e
...@@ -144,10 +144,6 @@ int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table) ...@@ -144,10 +144,6 @@ int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table)
#ifdef CONFIG_PROC_SYSCTL #ifdef CONFIG_PROC_SYSCTL
if (!table->proc_handler) if (!table->proc_handler)
set_fail(&fail, table, "No 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 #endif
sysctl_check_leaf(namespaces, table, &fail); sysctl_check_leaf(namespaces, table, &fail);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment