aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2011-10-18 15:59:49 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2011-11-01 04:19:57 -0400
commitad542ced254f1c8560260e209f0f0d69dbae49e4 (patch)
tree15d4bcc3ebf141c7f1cf2f0796c36f135fca7627 /net/netfilter
parent8d83f63b19d45ba0898b97824afcc8e0b5c954cb (diff)
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/netfilter')
-rw-r--r--net/netfilter/ipvs/ip_vs_core.c2
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 46a8130d3f42..093cc327020f 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,
529 a cache_bypass connection entry */ 529 a cache_bypass connection entry */
530 ipvs = net_ipvs(net); 530 ipvs = net_ipvs(net);
531 if (ipvs->sysctl_cache_bypass && svc->fwmark && unicast) { 531 if (ipvs->sysctl_cache_bypass && svc->fwmark && unicast) {
532 int ret, cs; 532 int ret;
533 struct ip_vs_conn *cp; 533 struct ip_vs_conn *cp;
534 unsigned int flags = (svc->flags & IP_VS_SVC_F_ONEPACKET && 534 unsigned int flags = (svc->flags & IP_VS_SVC_F_ONEPACKET &&
535 iph.protocol == IPPROTO_UDP)? 535 iph.protocol == IPPROTO_UDP)?