linux/drivers/crypto/marvell
Thomas Petazzoni 6dc156f453 crypto: marvell - make mv_cesa_ahash_cache_req() return bool
The mv_cesa_ahash_cache_req() function always returns 0, which makes
its return value pretty much useless. However, in addition to
returning a useless value, it also returns a boolean in a variable
passed by reference to indicate if the request was already cached.

So, this commit changes mv_cesa_ahash_cache_req() to return this
boolean. It consequently simplifies the only call site of
mv_cesa_ahash_cache_req(), where the "ret" variable is no longer
needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-08-09 18:47:30 +08:00
..
cesa.c crypto: marvell - Don't chain at DMA level when backlog is disabled 2016-07-28 13:04:43 +08:00
cesa.h crypto: marvell - Add support for chaining crypto requests in TDMA mode 2016-06-23 18:29:51 +08:00
cipher.c crypto: marvell - Don't copy IV vectors from the _process op for ciphers 2016-07-29 18:30:17 +08:00
hash.c crypto: marvell - make mv_cesa_ahash_cache_req() return bool 2016-08-09 18:47:30 +08:00
Makefile
tdma.c crypto: marvell - be explicit about destination in mv_cesa_dma_add_op() 2016-08-09 18:47:29 +08:00