提交 33c7c0fb 编写于 作者: D Davidlohr Bueso 提交者: Herbert Xu

crypto: skcipher - remove redundant NULL check

Signed-off-by: NDavidlohr Bueso <dave@gnu.org>
Acked-by: NDavid S. Miller <davem@davemloft.net>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 5efb94ee
......@@ -141,8 +141,7 @@ int ablkcipher_walk_done(struct ablkcipher_request *req,
if (walk->iv != req->info)
memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize);
if (walk->iv_buffer)
kfree(walk->iv_buffer);
kfree(walk->iv_buffer);
return err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册