mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
ipvs: Remove dead debug code
This code section cannot compile as it refer to non existing variable It also pre-date git history. Signed-off-by: Yannick Brosseau <scientist@fb.com> Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
b734427a4f
commit
16ea4c6b9d
1 changed files with 0 additions and 86 deletions
|
@ -1806,92 +1806,6 @@ static struct ctl_table vs_vars[] = {
|
|||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec,
|
||||
},
|
||||
#endif
|
||||
#if 0
|
||||
{
|
||||
.procname = "timeout_established",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_ESTABLISHED],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_synsent",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_SYN_SENT],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_synrecv",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_SYN_RECV],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_finwait",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_FIN_WAIT],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_timewait",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_TIME_WAIT],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_close",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_CLOSE],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_closewait",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_CLOSE_WAIT],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_lastack",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_LAST_ACK],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_listen",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_LISTEN],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_synack",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_SYNACK],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_udp",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_UDP],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
{
|
||||
.procname = "timeout_icmp",
|
||||
.data = &vs_timeout_table_dos.timeout[IP_VS_S_ICMP],
|
||||
.maxlen = sizeof(int),
|
||||
.mode = 0644,
|
||||
.proc_handler = proc_dointvec_jiffies,
|
||||
},
|
||||
#endif
|
||||
{ }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue