From: Eric W. Biederman parse_table has support for calling a strategy routine when descending into a directory. To date no one has used this functionality and the /proc/sys interface has no analog to it. So no one is using this functionality kill it and make the binary sysctl code easier to follow. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton --- kernel/sysctl.c | 8 -------- 1 file changed, 8 deletions(-) diff -puN kernel/sysctl.c~sysctl-remove-support-for-directory-strategy-routines kernel/sysctl.c --- a/kernel/sysctl.c~sysctl-remove-support-for-directory-strategy-routines +++ a/kernel/sysctl.c @@ -1212,14 +1212,6 @@ repeat: if (table->child) { if (ctl_perm(table, 001)) return -EPERM; - if (table->strategy) { - error = table->strategy( - table, name, nlen, - oldval, oldlenp, - newval, newlen); - if (error) - return error; - } name++; nlen--; table = table->child; _