diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-08-18 18:25:38 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-08-28 16:58:29 +1000 |
commit | f858ddef5a57fb0597bb23f69edda3477d47e30a (patch) | |
tree | 38f93e646f2b1cbaaa91ad88c36149e09bb62241 | |
parent | b00ba76a03a02c23494644d2ccd389fdc411f9e9 (diff) |
crypto: ahash - Remove AHASH_REQUEST_ON_STACK
This patch removes AHASH_REQUEST_ON_STACK which is unused.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | include/crypto/hash.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/crypto/hash.h b/include/crypto/hash.h index a2563a59fadd..af2ff31ff619 100644 --- a/include/crypto/hash.h +++ b/include/crypto/hash.h @@ -59,11 +59,6 @@ struct ahash_request { void *__ctx[] CRYPTO_MINALIGN_ATTR; }; -#define AHASH_REQUEST_ON_STACK(name, ahash) \ - char __##name##_desc[sizeof(struct ahash_request) + \ - crypto_ahash_reqsize(ahash)] CRYPTO_MINALIGN_ATTR; \ - struct ahash_request *name = (void *)__##name##_desc - /** * struct ahash_alg - asynchronous message digest definition * @init: **[mandatory]** Initialize the transformation context. Intended only to initialize the |