From: Simon Horman Date: Tue, 1 Feb 2011 17:24:09 +0000 (+0100) Subject: IPVS: remove duplicate initialisation or rs_table X-Git-Tag: MMI-PSA29.97-13-9~20520^2~10^2~61 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=258e958b85cef23b1598515504426e8d0576d223;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git IPVS: remove duplicate initialisation or rs_table Signed-off-by: Simon Horman Acked-by: Randy Dunlap Signed-off-by: Hans Schillstrom Tested-by: Hans Schillstrom Signed-off-by: Patrick McHardy --- 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) } spin_lock_init(&ipvs->tot_stats->lock); - for (idx = 0; idx < IP_VS_RTAB_SIZE; idx++) - INIT_LIST_HEAD(&ipvs->rs_table[idx]); - proc_net_fops_create(net, "ip_vs", 0, &ip_vs_info_fops); proc_net_fops_create(net, "ip_vs_stats", 0, &ip_vs_stats_fops); proc_net_fops_create(net, "ip_vs_stats_percpu", 0,