projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0792470
)
netfilter: ipvs: fix compiler warnings
author
Changli Gao
<
[email protected]
>
Tue, 25 Jan 2011 04:40:18 +0000
(12:40 +0800)
committer
Simon Horman
<
[email protected]
>
Tue, 25 Jan 2011 13:17:51 +0000
(23:17 +1000)
Fix compiler warnings when IP_VS_DBG() isn't defined.
Signed-off-by: Changli Gao <
[email protected]
>
Acked-by: Hans Schillstrom <
[email protected]
>
Signed-off-by: Simon Horman <
[email protected]
>
net/netfilter/ipvs/ip_vs_core.c
patch
|
blob
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_core.c
b/net/netfilter/ipvs/ip_vs_core.c
index f36a84f33efb8b6a33f41c9480d8b03d3830c414..d889f4f6be994357097bc30e7b78874858b33966 100644
(file)
--- 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 = {