Skip to content

Commit

Permalink
netfilter: ipvs: fix compiler warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Changli Gao authored and Simon Horman committed Jan 25, 2011
1 parent 0792470 commit 9f4e1cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions net/netfilter/ipvs/ip_vs_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 9f4e1cc

Please sign in to comment.