projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814ecf6
)
sysctl_check: drop dead code
author
Denis Kirjanov
<
[email protected]
>
Wed, 23 Mar 2011 23:43:08 +0000
(16:43 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 24 Mar 2011 02:46:51 +0000
(19:46 -0700)
Drop dead code.
Signed-off-by: Denis Kirjanov <
[email protected]
>
Cc: "Eric W. Biederman" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/sysctl_check.c
patch
|
blob
|
history
diff --git
a/kernel/sysctl_check.c
b/kernel/sysctl_check.c
index 3a01c3e4649473547be45596dd6807351e5adb2c..4e4932a7b3608ac6e32175ee87481c1ac47a3572 100644
(file)
--- a/
kernel/sysctl_check.c
+++ b/
kernel/sysctl_check.c
@@
-144,10
+144,6
@@
int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table)
#ifdef CONFIG_PROC_SYSCTL
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);
}