Commit e68f9cf6 authored by Longfang Liu's avatar Longfang Liu Committed by Herbert Xu

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: default avatarLongfang Liu <liulongfang@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent d4b3984c
...@@ -109,7 +109,6 @@ struct sec_qp_ctx { ...@@ -109,7 +109,6 @@ struct sec_qp_ctx {
struct list_head backlog; struct list_head backlog;
struct hisi_acc_sgl_pool *c_in_pool; struct hisi_acc_sgl_pool *c_in_pool;
struct hisi_acc_sgl_pool *c_out_pool; struct hisi_acc_sgl_pool *c_out_pool;
atomic_t pending_reqs;
}; };
enum sec_alg_type { enum sec_alg_type {
...@@ -180,7 +179,6 @@ struct sec_dev { ...@@ -180,7 +179,6 @@ struct sec_dev {
struct sec_debug debug; struct sec_debug debug;
u32 ctx_q_num; u32 ctx_q_num;
bool iommu_used; bool iommu_used;
unsigned long status;
}; };
void sec_destroy_qps(struct hisi_qp **qps, int qp_num); void sec_destroy_qps(struct hisi_qp **qps, int qp_num);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment