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

Commit ad542ced authored by Krzysztof Wilczynski's avatar Krzysztof Wilczynski Committed by Pablo Neira Ayuso
Browse files

ipvs: Remove unused variable "cs" from ip_vs_leave function.



This is to address the following warning during compilation time:

  net/netfilter/ipvs/ip_vs_core.c: In function ‘ip_vs_leave’:
  net/netfilter/ipvs/ip_vs_core.c:532: warning: unused variable ‘cs’

This variable is indeed no longer in use.

Signed-off-by: default avatarKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 8d83f63b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -529,7 +529,7 @@ int ip_vs_leave(struct ip_vs_service *svc, struct sk_buff *skb,
	   a cache_bypass connection entry */
	ipvs = net_ipvs(net);
	if (ipvs->sysctl_cache_bypass && svc->fwmark && unicast) {
		int ret, cs;
		int ret;
		struct ip_vs_conn *cp;
		unsigned int flags = (svc->flags & IP_VS_SVC_F_ONEPACKET &&
				      iph.protocol == IPPROTO_UDP)?