Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: Simon Horman <horms@verge.net.au>

authored by

Krzysztof Wilczynski and committed by
Pablo Neira Ayuso
ad542ced 8d83f63b

+1 -1
+1 -1
net/netfilter/ipvs/ip_vs_core.c
··· 529 529 a cache_bypass connection entry */ 530 530 ipvs = net_ipvs(net); 531 531 if (ipvs->sysctl_cache_bypass && svc->fwmark && unicast) { 532 - int ret, cs; 532 + int ret; 533 533 struct ip_vs_conn *cp; 534 534 unsigned int flags = (svc->flags & IP_VS_SVC_F_ONEPACKET && 535 535 iph.protocol == IPPROTO_UDP)?