mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
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>
This commit is contained in:
parent
43024b9ccd
commit
9b7e14dba0
1 changed files with 0 additions and 1 deletions
|
@ -231,7 +231,6 @@ int xfrm_input(struct sk_buff *skb, int nexthdr, __be32 spi, int encap_type)
|
||||||
|
|
||||||
if (xo && (xo->flags & CRYPTO_DONE)) {
|
if (xo && (xo->flags & CRYPTO_DONE)) {
|
||||||
crypto_done = true;
|
crypto_done = true;
|
||||||
x = xfrm_input_state(skb);
|
|
||||||
family = XFRM_SPI_SKB_CB(skb)->family;
|
family = XFRM_SPI_SKB_CB(skb)->family;
|
||||||
|
|
||||||
if (!(xo->status & CRYPTO_SUCCESS)) {
|
if (!(xo->status & CRYPTO_SUCCESS)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue