crypto: caam - Move common error handling code in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 15 Sep 2016 14:00:55 +0000 (16:00 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Sep 2016 10:27:46 +0000 (18:27 +0800)
commit06435f3437599d01653d42670c604d0b28a878e1
treed3f05146fe63d8405a957db625a425950e6ad420
parent9e6df0fdfc4b3067de03f7be02f274e0a81737e7
crypto: caam - Move common error handling code in two functions

Move statements for error handling which were identical
in two if branches to the end of these functions.

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