diff options
author | Simon Horman <horms@verge.net.au> | 2011-02-01 12:24:09 -0500 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-02-01 12:24:09 -0500 |
commit | 258e958b85cef23b1598515504426e8d0576d223 (patch) | |
tree | cffc9dd64e30942a5762694d29e297f6243faede /net/netfilter | |
parent | a870c8c5cbe41bcf42cf4fa9f43d969b5134090b (diff) |
IPVS: remove duplicate initialisation or rs_table
Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Tested-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_ctl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 98df59a12453..d7c2fa80cee3 100644 --- a/net/netfilter/ipvs/ip_vs_ctl.c +++ b/net/netfilter/ipvs/ip_vs_ctl.c | |||
@@ -3515,9 +3515,6 @@ int __net_init __ip_vs_control_init(struct net *net) | |||
3515 | } | 3515 | } |
3516 | spin_lock_init(&ipvs->tot_stats->lock); | 3516 | spin_lock_init(&ipvs->tot_stats->lock); |
3517 | 3517 | ||
3518 | for (idx = 0; idx < IP_VS_RTAB_SIZE; idx++) | ||
3519 | INIT_LIST_HEAD(&ipvs->rs_table[idx]); | ||
3520 | |||
3521 | proc_net_fops_create(net, "ip_vs", 0, &ip_vs_info_fops); | 3518 | proc_net_fops_create(net, "ip_vs", 0, &ip_vs_info_fops); |
3522 | proc_net_fops_create(net, "ip_vs_stats", 0, &ip_vs_stats_fops); | 3519 | proc_net_fops_create(net, "ip_vs_stats", 0, &ip_vs_stats_fops); |
3523 | proc_net_fops_create(net, "ip_vs_stats_percpu", 0, | 3520 | proc_net_fops_create(net, "ip_vs_stats_percpu", 0, |