summaryrefslogtreecommitdiff
path: root/include/crypto/algapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/algapi.h')
-rw-r--r--include/crypto/algapi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index 1fd81e74a174..fede394ae2ab 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -305,8 +305,7 @@ enum {
static inline void crypto_request_complete(struct crypto_async_request *req,
int err)
{
- crypto_completion_t complete = req->complete;
- complete(req, err);
+ req->complete(req->data, err);
}
#endif /* _CRYPTO_ALGAPI_H */