mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 11:00:56 +07:00
crypto: qat - remove unused field in skcipher ctx
Remove tfm field in qat_alg_skcipher_ctx structure. This is not used. Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
b185a68710
commit
5fb8b70d20
@ -88,7 +88,6 @@ struct qat_alg_skcipher_ctx {
|
||||
struct icp_qat_fw_la_bulk_req enc_fw_req;
|
||||
struct icp_qat_fw_la_bulk_req dec_fw_req;
|
||||
struct qat_crypto_instance *inst;
|
||||
struct crypto_skcipher *tfm;
|
||||
};
|
||||
|
||||
static int qat_get_inter_state_size(enum icp_qat_hw_auth_algo qat_hash_alg)
|
||||
@ -1197,10 +1196,7 @@ static void qat_alg_aead_exit(struct crypto_aead *tfm)
|
||||
|
||||
static int qat_alg_skcipher_init_tfm(struct crypto_skcipher *tfm)
|
||||
{
|
||||
struct qat_alg_skcipher_ctx *ctx = crypto_skcipher_ctx(tfm);
|
||||
|
||||
crypto_skcipher_set_reqsize(tfm, sizeof(struct qat_crypto_request));
|
||||
ctx->tfm = tfm;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user