staging/lustre: Remove unneeded ldlm_timeout control
[linux-2.6-block.git] / drivers / staging / lustre / lustre / obdclass / linux / linux-sysctl.c
index e800bd6c54914ddfca6133b95b2f986a33e033b0..eda5f30e8f30c9b7bc2dcc5a51784b879c6302ea 100644 (file)
@@ -61,8 +61,6 @@ static int proc_set_timeout(struct ctl_table *table, int write,
        int rc;
 
        rc = proc_dointvec(table, write, buffer, lenp, ppos);
-       if (ldlm_timeout >= obd_timeout)
-               ldlm_timeout = max(obd_timeout / 3, 1U);
        return rc;
 }
 
@@ -136,13 +134,6 @@ static struct ctl_table obd_table[] = {
                .mode     = 0644,
                .proc_handler = &proc_dointvec
        },
-       {
-               .procname = "ldlm_timeout",
-               .data     = &ldlm_timeout,
-               .maxlen   = sizeof(int),
-               .mode     = 0644,
-               .proc_handler = &proc_set_timeout
-       },
        {
                .procname = "max_dirty_mb",
                .data     = &obd_max_dirty_pages,