Commit 843cff5a authored by Peng Tao's avatar Peng Tao Committed by Greg Kroah-Hartman

staging/lustre: remove INIT_STRATEGY

legacy code used to support kernel where struct ctl_table
has strategy member.

Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarPeng Tao <bergwolf@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7fb3d1c5
...@@ -204,8 +204,4 @@ extern int lwt_snapshot (cfs_cycles_t *now, int *ncpu, int *total_size, ...@@ -204,8 +204,4 @@ extern int lwt_snapshot (cfs_cycles_t *now, int *ncpu, int *total_size,
*/ */
# define LPPID "%d" # define LPPID "%d"
/* compat macroses */
#define INIT_STRATEGY(a)
#endif #endif
...@@ -452,7 +452,6 @@ static ctl_table_t lnet_table[] = { ...@@ -452,7 +452,6 @@ static ctl_table_t lnet_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = &proc_dointvec,
INIT_STRATEGY(&sysctl_intvec)
}, },
{ {
.procname = "catastrophe", .procname = "catastrophe",
...@@ -460,7 +459,6 @@ static ctl_table_t lnet_table[] = { ...@@ -460,7 +459,6 @@ static ctl_table_t lnet_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0444, .mode = 0444,
.proc_handler = &proc_dointvec, .proc_handler = &proc_dointvec,
INIT_STRATEGY(&sysctl_intvec)
}, },
{ {
.procname = "panic_on_lbug", .procname = "panic_on_lbug",
...@@ -468,7 +466,6 @@ static ctl_table_t lnet_table[] = { ...@@ -468,7 +466,6 @@ static ctl_table_t lnet_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = &proc_dointvec,
INIT_STRATEGY(&sysctl_intvec)
}, },
{ {
.procname = "dump_kernel", .procname = "dump_kernel",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment