Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f4e1ccd authored by Changli Gao's avatar Changli Gao Committed by Simon Horman
Browse files

netfilter: ipvs: fix compiler warnings



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

Signed-off-by: default avatarChangli Gao <xiaosuo@gmail.com>
Acked-by: default avatarHans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 07924709
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 = {