crypto: qat - don't need qat_auth_state struct
authorTadeusz Struk <tadeusz.struk@intel.com>
Wed, 14 Jan 2015 18:27:35 +0000 (10:27 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Jan 2015 23:41:40 +0000 (10:41 +1100)
We don't need the qat_auth_state structure anymore.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_algs.c

index e2c4b254ac411b9eaf8f42931e0aa349e484a9ac..1dc5b0a17cf7205f45f01b7995464860634cdbc9 100644 (file)
@@ -102,12 +102,6 @@ struct qat_alg_cd {
        };
 } __aligned(64);
 
-#define MAX_AUTH_STATE_SIZE sizeof(struct icp_qat_hw_auth_algo_blk)
-
-struct qat_auth_state {
-       uint8_t data[MAX_AUTH_STATE_SIZE + 64];
-} __aligned(64);
-
 struct qat_alg_aead_ctx {
        struct qat_alg_cd *enc_cd;
        struct qat_alg_cd *dec_cd;