diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2018-07-24 16:12:43 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-08-03 12:06:05 +0200 |
commit | 76c9e53e633c8584f752effc4412d395ccf90547 (patch) | |
tree | 1209299b82f497076459b745e949a1a3caa7a100 /drivers/crypto/ccree/cc_driver.h | |
parent | crypto: ablkcipher - fix crash flushing dcache in error path (diff) | |
download | linux-76c9e53e633c8584f752effc4412d395ccf90547.tar.xz linux-76c9e53e633c8584f752effc4412d395ccf90547.zip |
crypto: ccree - drop useless type flag during reg
Drop the explicit setting of CRYPTO_ALG_TYPE_AEAD or
CRYPTO_ALG_TYPE_SKCIPHER flags during alg registration as they are
set anyway by the framework.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/ccree/cc_driver.h b/drivers/crypto/ccree/cc_driver.h index 95f82b2d1e70..d608a4faf662 100644 --- a/drivers/crypto/ccree/cc_driver.h +++ b/drivers/crypto/ccree/cc_driver.h @@ -148,7 +148,6 @@ struct cc_alg_template { char name[CRYPTO_MAX_ALG_NAME]; char driver_name[CRYPTO_MAX_ALG_NAME]; unsigned int blocksize; - u32 type; union { struct skcipher_alg skcipher; struct aead_alg aead; |