diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-10-18 20:59:49 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-11-01 09:19:57 +0100 |
commit | ad542ced254f1c8560260e209f0f0d69dbae49e4 (patch) | |
tree | 15d4bcc3ebf141c7f1cf2f0796c36f135fca7627 /net | |
parent | 8d83f63b19d45ba0898b97824afcc8e0b5c954cb (diff) | |
download | linux-3.10-ad542ced254f1c8560260e209f0f0d69dbae49e4.tar.gz linux-3.10-ad542ced254f1c8560260e209f0f0d69dbae49e4.tar.bz2 linux-3.10-ad542ced254f1c8560260e209f0f0d69dbae49e4.zip |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c index 46a8130d3f4..093cc327020 100644 --- a/net/netfilter/ipvs/ip_vs_core.c +++ b/net/netfilter/ipvs/ip_vs_core.c @@ -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)? |