Skip to content

Commit

Permalink
crypto: caam - remove unused authkeylen from caam_ctx
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Kim Phillips authored and Herbert Xu committed May 19, 2011
1 parent ddbb808 commit 6666448
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/crypto/caam/caamalg.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ struct caam_ctx {
u8 *key;
dma_addr_t key_phys;
unsigned int enckeylen;
unsigned int authkeylen;
unsigned int split_key_len;
unsigned int split_key_pad_len;
unsigned int authsize;
Expand Down Expand Up @@ -330,7 +329,6 @@ static int aead_authenc_setkey(struct crypto_aead *aead,
#endif

ctx->enckeylen = enckeylen;
ctx->authkeylen = authkeylen;

ret = build_sh_desc_ipsec(ctx);
if (ret) {
Expand Down

0 comments on commit 6666448

Please sign in to comment.