crypto: caam - Remove unneeded 'ret' variable
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 12 Aug 2015 17:39:38 +0000 (14:39 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Aug 2015 07:13:29 +0000 (15:13 +0800)
commite558017b558d2a477b68961b0da792d4346a01b4
treed6ce7be21d017d6eff2d0516ccec90b2bb7fba1f
parentac8ad30777467c5258c52aa4899a8a07a3e56b54
crypto: caam - Remove unneeded 'ret' variable

Variable 'ret' is only used for returning the value 0.

We can make it simpler and just return 0 instead.

The semantic patch that makes this change is available
in scripts/coccinelle/misc/returnvar.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c