xfrm: Remove redundant state assignment in xfrm_input()

x is already initialized to the same value, above.

Signed-off-by: Aviv Heller <[email protected]>
Signed-off-by: Yevgeny Kliteynik <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
This commit is contained in:
Aviv Heller 2017-11-28 19:55:42 +02:00 • committed by Steffen Klassert
commit 9b7e14dba0

View file

@ -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)) {