summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/inside-secure/safexcel_hash.c
diff options
context:
space:
mode:
authorOfer Heifetz <oferh@marvell.com>2017-12-14 15:26:50 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-12-22 20:03:31 +1100
commit5290ad6e9a685154a112274325683e5db5af76b0 (patch)
treeb57c2950792a4ca0138d1d6e2739e3d9403d2cb5 /drivers/crypto/inside-secure/safexcel_hash.c
parent847ccfc5866950873b20c6fd980808f6043061ae (diff)
downloadop-kernel-dev-5290ad6e9a685154a112274325683e5db5af76b0.zip
op-kernel-dev-5290ad6e9a685154a112274325683e5db5af76b0.tar.gz
crypto: inside-secure - remove unused parameter in invalidate_cache
The SafeXcel context isn't used in the cache invalidation function. This cosmetic patch removes it (as well as from the function prototype in the header file and when the function is called). Signed-off-by: Ofer Heifetz <oferh@marvell.com> [Antoine: commit message] Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel_hash.c')
-rw-r--r--drivers/crypto/inside-secure/safexcel_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/inside-secure/safexcel_hash.c b/drivers/crypto/inside-secure/safexcel_hash.c
index 4a4d953..d233f4a 100644
--- a/drivers/crypto/inside-secure/safexcel_hash.c
+++ b/drivers/crypto/inside-secure/safexcel_hash.c
@@ -417,7 +417,7 @@ static int safexcel_ahash_send_inv(struct crypto_async_request *async,
struct safexcel_ahash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(areq));
int ret;
- ret = safexcel_invalidate_cache(async, &ctx->base, ctx->priv,
+ ret = safexcel_invalidate_cache(async, ctx->priv,
ctx->base.ctxr_dma, ring, request);
if (unlikely(ret))
return ret;
OpenPOWER on IntegriCloud