crypto: caam - trivial code clean-up
authorHoria Geantă <horia.geanta@nxp.com>
Wed, 9 Nov 2016 08:46:18 +0000 (10:46 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 13 Nov 2016 09:45:12 +0000 (17:45 +0800)
commit4ca7c7d8fea1ffdc36df33578c1e68d0d6367b0c
treeb6c391b43e930329418f5a140452f852c5ee0178
parent1b008eedb0afcc7afa26f17ce16069789f8ce5ba
crypto: caam - trivial code clean-up

-replace offsetof with container_of
-remove unused "assoc_nents", "iv_dma" from aead_edesc
and fix comments
-remove unused CAAM_MAX_IV_LENGTH #define

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamhash.c
drivers/crypto/caam/caamrng.c