Commit 889cb525 authored by Jeff Garzik's avatar Jeff Garzik

[CRYPTO]: Kill accidental double memset.

parent 33ec2bbf
......@@ -129,8 +129,6 @@ struct crypto_tfm *crypto_alloc_tfm(const char *name, u32 flags)
goto out_put;
memset(tfm, 0, sizeof(*tfm));
memset(tfm, 0, sizeof(*tfm));
if (alg->cra_ctxsize) {
tfm->crt_ctx = kmalloc(alg->cra_ctxsize, GFP_KERNEL);
......
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