diff options
author | Changli Gao <xiaosuo@gmail.com> | 2011-01-25 12:40:18 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-01-25 23:17:51 +1000 |
commit | 9f4e1ccd80530609bbceec68ae3831697b5c6a68 (patch) | |
tree | ca2089c713a928069105c6efa866fc1e3b44de4d /net | |
parent | 07924709f68b3f4f701d4efd6acd18ca4ee14de3 (diff) |
netfilter: ipvs: fix compiler warnings
Fix compiler warnings when IP_VS_DBG() isn't defined.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c index f36a84f33efb..d889f4f6be99 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); - - IP_VS_DBG(10, "ipvs netns %d released\n", ipvs->gen); + IP_VS_DBG(10, "ipvs netns %d released\n", net_ipvs(net)->gen); } static struct pernet_operations ipvs_core_ops = { |