crypto: caam - Return a value directly in caam_hash_cra_init()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 15 Sep 2016 12:56:12 +0000 (14:56 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Sep 2016 10:27:43 +0000 (18:27 +0800)
commite6cc5b8df069cb0feff3d10da9e959cc2618625a
treefaffe6e832b3fff0a6795d00cec3fa2d0a9bbba0
parent58b0e5d0abfc84094457c93d70c0f6726deb16ac
crypto: caam - Return a value directly in caam_hash_cra_init()

* Return a value at the end without storing it in an intermediate variable.

* Delete the local variable "ret" which became unnecessary with
  this refactoring.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c