From: Longfang Liu Date: Thu, 15 Oct 2020 02:23:03 +0000 (+0800) Subject: crypto: hisilicon - delete unused structure member variables X-Git-Tag: accepted/tizen/unified/20230118.172025~8155^2~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e68f9cf6601b53c7ee8ece552fbafcd9cfa47faa;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/hisilicon/sec2/sec.h b/drivers/crypto/hisilicon/sec2/sec.h index 037762b..0849191 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);