summaryrefslogtreecommitdiff
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-02-06 18:22:46 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-13 18:35:15 +0800
commit846366b0df0ad19051fbdd38734b1f7690d814c3 (patch)
tree2bf2698277ce7cb51651f7fdfe0ae1e081a550e0 /include/linux/crypto.h
parent8580e55aa85f5000065450add82707a5ee7f88f5 (diff)
downloadlwn-846366b0df0ad19051fbdd38734b1f7690d814c3.tar.gz
lwn-846366b0df0ad19051fbdd38734b1f7690d814c3.zip
crypto: api - Remove completion function scaffolding
This patch removes the temporary scaffolding now that the comletion function signature has been converted. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 80f6350fb588..bb1d9b0e1647 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -176,7 +176,6 @@ struct crypto_async_request;
struct crypto_tfm;
struct crypto_type;
-typedef void crypto_completion_data_t;
typedef void (*crypto_completion_t)(void *req, int err);
/**
@@ -596,11 +595,6 @@ struct crypto_wait {
/*
* Async ops completion helper functioons
*/
-static inline void *crypto_get_completion_data(void *data)
-{
- return data;
-}
-
void crypto_req_done(void *req, int err);
static inline int crypto_wait_req(int err, struct crypto_wait *wait)