diff options
author | Longfang Liu <liulongfang@huawei.com> | 2020-10-15 05:23:03 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 09:35:01 +0300 |
commit | e68f9cf6601b53c7ee8ece552fbafcd9cfa47faa (patch) | |
tree | fcc4120f2354f3419a6e3b64126dbb1b1dc2f253 | |
parent | d4b3984c9e627eacbbf5ee81f9a60eb3191bff8e (diff) | |
download | linux-e68f9cf6601b53c7ee8ece552fbafcd9cfa47faa.tar.xz |
crypto: hisilicon - delete unused structure member variables
1. Remove unused member‘pending_reqs' in‘sec_qp_ctx' structure.
2. Remove unused member‘status' in‘sec_dev' structure.
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/hisilicon/sec2/sec.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/hisilicon/sec2/sec.h b/drivers/crypto/hisilicon/sec2/sec.h index 037762b531e2..08491912afd5 100644 --- a/drivers/crypto/hisilicon/sec2/sec.h +++ b/drivers/crypto/hisilicon/sec2/sec.h @@ -109,7 +109,6 @@ struct sec_qp_ctx { struct list_head backlog; struct hisi_acc_sgl_pool *c_in_pool; struct hisi_acc_sgl_pool *c_out_pool; - atomic_t pending_reqs; }; enum sec_alg_type { @@ -180,7 +179,6 @@ struct sec_dev { struct sec_debug debug; u32 ctx_q_num; bool iommu_used; - unsigned long status; }; void sec_destroy_qps(struct hisi_qp **qps, int qp_num); |