diff options
author | Aviv Heller <avivh@mellanox.com> | 2017-11-28 19:55:42 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-12-01 07:41:48 +0100 |
commit | 9b7e14dba0c087e950fc024b486e8f729c1ee672 (patch) | |
tree | 6dffff1a41657a346796f2470a5e7a40d1d4780d | |
parent | 43024b9ccd524ea1ad3e441edf08cb893bcd6d62 (diff) | |
download | op-kernel-dev-9b7e14dba0c087e950fc024b486e8f729c1ee672.zip op-kernel-dev-9b7e14dba0c087e950fc024b486e8f729c1ee672.tar.gz |
xfrm: Remove redundant state assignment in xfrm_input()
x is already initialized to the same value, above.
Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@mellanox.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
-rw-r--r-- | net/xfrm/xfrm_input.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c index 347ab31..ac277b9 100644 --- a/net/xfrm/xfrm_input.c +++ b/net/xfrm/xfrm_input.c @@ -231,7 +231,6 @@ int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type) if (xo && (xo->flags & CRYPTO_DONE)) { crypto_done = true; - x = xfrm_input_state(skb); family = XFRM_SPI_SKB_CB(skb)->family; if (!(xo->status & CRYPTO_SUCCESS)) { |