diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-09 12:03:17 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-09 13:47:30 +0300 |
| commit | 6dc156f4536b9f0abb764cb34e652730dcc4883b (patch) | |
| tree | aa2d66c766644e1d3655284f90e975aa42dd4b03 /include | |
| parent | 3e5c66c9c31afecf1d6f7ef4ffc50ac3c1ff3c7c (diff) | |
| download | linux-6dc156f4536b9f0abb764cb34e652730dcc4883b.tar.xz | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
