Subject: [PATCH] netfilter: ipvs: fix compiler warnings

From: Changli Gao <[email-masked]>
Date: Tue, 25 Jan 2011 12:40:18 +0800

Fix compiler warnings when IP_VS_DBG() isn't defined.

Signed-off-by: Changli Gao <[email-masked]>
---
 net/netfilter/ipvs/ip_vs_core.c  |    4 +---
 3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
index f36a84f..d889f4f 100644
--- a/net/netfilter/ipvs/ip_vs_core.c
+++ b/net/netfilter/ipvs/ip_vs_core.c
@@ -1894,9 +1894,7 @@ static int __net_init __ip_vs_init(struct net *net)
 
 static void __net_exit __ip_vs_cleanup(struct net *net)
 {
-	struct netns_ipvs *ipvs = net_ipvs(net);