summaryrefslogtreecommitdiff
path: root/drivers/crypto/ccree/cc_driver.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-02-11 19:19:15 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-02-22 09:25:45 +0800
commitc23d7997559dcceaea8483398ef6cc400b22bfb1 (patch)
treeeffb43f49d7f58383454d63e80cf1c8f2a0e8b98 /drivers/crypto/ccree/cc_driver.h
parent040187a0faa6592a9499ec9a1162efd77e3611c2 (diff)
crypto: ccree - remove struct cc_cipher_handle
The cc_cipher_handle structure contains only a single member, and only one instance exists. Simplify the code and reduce memory consumption by moving this member to struct cc_drvdata. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree/cc_driver.h')
-rw-r--r--drivers/crypto/ccree/cc_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccree/cc_driver.h b/drivers/crypto/ccree/cc_driver.h
index 4895f124d2b8..4790eb5cb8bd 100644
--- a/drivers/crypto/ccree/cc_driver.h
+++ b/drivers/crypto/ccree/cc_driver.h
@@ -141,7 +141,7 @@ struct cc_drvdata {
struct platform_device *plat_dev;
u32 mlli_sram_addr;
struct dma_pool *mlli_buffs_pool;
- void *cipher_handle;
+ struct list_head alg_list;
void *hash_handle;
void *aead_handle;
void *request_mgr_handle;