* [PATCH 2/2] sysclt_check: Drop dead code
@ 2011-02-05 10:40 Denis Kirjanov
0 siblings, 0 replies; only message in thread
From: Denis Kirjanov @ 2011-02-05 10:40 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm, ebiederm
Drop dead code.
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
---
kernel/sysctl_check.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
index 3a01c3e..4e4932a 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)
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-05 10:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-05 10:40 [PATCH 2/2] sysclt_check: Drop dead code Denis Kirjanov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.