diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-03-09 22:55:05 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-03-15 09:36:49 +0900 |
commit | 06b69390a652bfe4fa7e18e27c938e75ffe86ba0 (patch) | |
tree | 8231ad9732e93b53ef6d90f9726f1a277b5c6d7c | |
parent | 6060c74a3de8ed142c78133e2829e74711f77387 (diff) |
IPVS: Fix variable assignment in ip_vs_notrack
There's no sense to 'ct = ct = ' in ip_vs_notrack(). Just assign
nf_ct_get()'s return value directly to the pointer variable 'ct' once.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | include/net/ip_vs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index e74da41ebd1..1dcb75da313 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -1190,7 +1190,7 @@ static inline void ip_vs_notrack(struct sk_buff *skb) { #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) enum ip_conntrack_info ctinfo; - struct nf_conn *ct = ct = nf_ct_get(skb, &ctinfo); + struct nf_conn *ct = nf_ct_get(skb, &ctinfo); if (!ct || !nf_ct_is_untracked(ct)) { nf_reset(skb); |