diff options
author | Dmitry Eremin <dmitry.eremin@intel.com> | 2015-07-06 12:48:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-13 19:47:20 -0700 |
commit | 90c94b564265474cffe55888ce25f45ce0ce4bb5 (patch) | |
tree | f30c288e98300174011f3868ede98a834d34468a /drivers/staging/lustre/lustre/libcfs/module.c | |
parent | staging/lustre/libcfs: Remove redundant enums and sysctl moduleparams (diff) | |
download | linux-dev-90c94b564265474cffe55888ce25f45ce0ce4bb5.tar.xz linux-dev-90c94b564265474cffe55888ce25f45ce0ce4bb5.zip |
staging/lustre/libcfs: Remove unneeded lnet watchdog_ratelimit sysctl
It is no longer used anywhere.
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/libcfs/module.c')
-rw-r--r-- | drivers/staging/lustre/lustre/libcfs/module.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/lustre/lustre/libcfs/module.c b/drivers/staging/lustre/lustre/libcfs/module.c index 95fa846095ee..8e228ae2c745 100644 --- a/drivers/staging/lustre/lustre/libcfs/module.c +++ b/drivers/staging/lustre/lustre/libcfs/module.c @@ -511,9 +511,6 @@ static int proc_dobitmasks(struct ctl_table *table, int write, __proc_dobitmasks); } -static int min_watchdog_ratelimit; /* disable ratelimiting */ -static int max_watchdog_ratelimit = (24*60*60); /* limit to once per day */ - static int __proc_dump_kernel(void *data, int write, loff_t pos, void __user *buffer, int nob) { @@ -798,15 +795,6 @@ static struct ctl_table lnet_table[] = { .proc_handler = &proc_debug_mb, }, { - .procname = "watchdog_ratelimit", - .data = &libcfs_watchdog_ratelimit, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = &proc_dointvec_minmax, - .extra1 = &min_watchdog_ratelimit, - .extra2 = &max_watchdog_ratelimit, - }, - { .procname = "force_lbug", .data = NULL, .maxlen = 0, |