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 <[email protected]>
Acked-by: Hans Schillstrom <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
  • Loading branch information
xiaosuo authored and horms 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.