Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: caam - clean-up in caam_init_rng()

Clean up the code, as indicated by Coccinelle.

Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Horia Geantă and committed by
Herbert Xu
f366af46 60a3f737

+1 -5
+1 -5
drivers/crypto/caam/caamrng.c
··· 285 285 if (err) 286 286 return err; 287 287 288 - err = caam_init_buf(ctx, 1); 289 - if (err) 290 - return err; 291 - 292 - return 0; 288 + return caam_init_buf(ctx, 1); 293 289 } 294 290 295 291 static struct hwrng caam_rng = {