Subject: [PATCH][NETNS]: Don't initialize err variable twice.

From: Pavel Emelyanov <[email-masked]>
Date: Mon, 21 Apr 2008 17:07:53 +0400

The ip6_route_net_init() performs some unneeded actions.

Signed-off-by: Pavel Emelyanov <[email-masked]>

---

diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 210a079..7f82e80 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -2614,7 +2614,7 @@ struct ctl_table *ipv6_route_sysctl_init(struct net *net)
 
 static int ip6_route_net_init(struct net *net)
 {
-	int ret = 0;
+	int ret;
 
 	ret = -ENOMEM;
 	net->ipv6.ip6_dst_ops = kmemdup(&ip6_dst_ops_template,