From: Eric Biggers <ebiggers@xxxxxxxxxx> struct ahash_request_priv is unused, so remove it. Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> --- crypto/ahash.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crypto/ahash.c b/crypto/ahash.c index 744fd3b8ea258..556c950100936 100644 --- a/crypto/ahash.c +++ b/crypto/ahash.c @@ -18,28 +18,20 @@ #include <linux/seq_file.h> #include <linux/string.h> #include <net/netlink.h> #include "hash.h" #define CRYPTO_ALG_TYPE_AHASH_MASK 0x0000000e static const struct crypto_type crypto_ahash_type; -struct ahash_request_priv { - crypto_completion_t complete; - void *data; - u8 *result; - u32 flags; - void *ubuf[] CRYPTO_MINALIGN_ATTR; -}; - static int hash_walk_next(struct crypto_hash_walk *walk) { unsigned int offset = walk->offset; unsigned int nbytes = min(walk->entrylen, ((unsigned int)(PAGE_SIZE)) - offset); walk->data = kmap_local_page(walk->pg); walk->data += offset; walk->entrylen -= nbytes; return nbytes; -- 2.42.0