aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2011-05-02 19:27:41 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-05-04 01:15:05 -0400
commit701af31ce0cc6a1114001d792c21108c7f49ac86 (patch)
tree4ef7482c657dcaf8f2b59fdcd3821fe7f61c2743 /drivers/crypto
parent3023b5b6f1d9e3f12827d0437f6bf096dddac944 (diff)
crypto: caam - remove unused keylen from session context
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/caamalg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c
index 245cfe42a8f..5c16019cf30 100644
--- a/drivers/crypto/caam/caamalg.c
+++ b/drivers/crypto/caam/caamalg.c
@@ -82,7 +82,6 @@ struct caam_ctx {
82 u32 alg_op; 82 u32 alg_op;
83 u8 *key; 83 u8 *key;
84 dma_addr_t key_phys; 84 dma_addr_t key_phys;
85 unsigned int keylen;
86 unsigned int enckeylen; 85 unsigned int enckeylen;
87 unsigned int authkeylen; 86 unsigned int authkeylen;
88 unsigned int split_key_len; 87 unsigned int split_key_len;
@@ -330,7 +329,6 @@ static int aead_authenc_setkey(struct crypto_aead *aead,
330 ctx->split_key_pad_len + enckeylen, 1); 329 ctx->split_key_pad_len + enckeylen, 1);
331#endif 330#endif
332 331
333 ctx->keylen = keylen;
334 ctx->enckeylen = enckeylen; 332 ctx->enckeylen = enckeylen;
335 ctx->authkeylen = authkeylen; 333 ctx->authkeylen = authkeylen;
336 334