提交 9b7e14db 编写于 作者: A Aviv Heller 提交者: Steffen Klassert

xfrm: Remove redundant state assignment in xfrm_input()

x is already initialized to the same value, above.
Signed-off-by: NAviv Heller <avivh@mellanox.com>
Signed-off-by: NYevgeny Kliteynik <kliteyn@mellanox.com>
Signed-off-by: NSteffen Klassert <steffen.klassert@secunet.com>
上级 43024b9c
......@@ -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)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册