Skip to contentSkip to conversation

sysclt_check: Drop dead code

PATCH New Denis Kirjanov 1 participant 1 message Feb 5, 2011 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 sysclt_check: Drop dead code

Drop dead code.

---
 kernel/sysctl_check.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
kernel/sysctl_check.c +0 -4
index 3a01c3e..4e4932a 100644
@@ -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)
Signature · 1 line
1.7.3.4