From: Herbert Xu Date: Tue, 18 Aug 2020 08:25:38 +0000 (+1000) Subject: crypto: ahash - Remove AHASH_REQUEST_ON_STACK X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f858ddef5a57fb0597bb23f69edda3477d47e30a;p=linux.git crypto: ahash - Remove AHASH_REQUEST_ON_STACK This patch removes AHASH_REQUEST_ON_STACK which is unused. Signed-off-by: Herbert Xu Acked-by: Ard Biesheuvel Signed-off-by: Herbert Xu --- diff --git a/include/crypto/hash.h b/include/crypto/hash.h index a2563a59fadd2..af2ff31ff619f 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