mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
crypto: api - Remove unnecessary NULL initialisation
tfm is assigned first, so it does not need to initialize the assignment. Signed-off-by: Li zeming <zeming@nfschina.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
3102bbcdcd
commit
17f7b9835a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user