Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 17f7b983 authored by Li zeming's avatar Li zeming Committed by Herbert Xu
Browse files

crypto: api - Remove unnecessary NULL initialisation


tfm is assigned first, so it does not need to initialize
the assignment.

Signed-off-by: default avatarLi zeming <zeming@nfschina.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3102bbcd
Branches
Tags
No related merge requests found
......@@ -389,7 +389,7 @@ EXPORT_SYMBOL_GPL(crypto_shoot_alg);
struct crypto_tfm *__crypto_alloc_tfmgfp(struct crypto_alg *alg, u32 type,
u32 mask, gfp_t gfp)
{
struct crypto_tfm *tfm = NULL;
struct crypto_tfm *tfm;
unsigned int tfm_size;
int err = -ENOMEM;
......
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