Skip to content
Snippets Groups Projects
Commit 33c7c0fb authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Herbert Xu
Browse files

crypto: skcipher - remove redundant NULL check

parent 5efb94ee
No related merge requests found
......@@ -141,8 +141,7 @@ err:
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment