Commit 33c7c0fb authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Herbert Xu

crypto: skcipher - remove redundant NULL check

Signed-off-by: default avatarDavidlohr Bueso <dave@gnu.org>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment