diff options
author | Weili Qian <qianweili@huawei.com> | 2020-09-19 19:01:36 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-09-25 17:48:53 +1000 |
commit | d8e887661711d668f5926a3d849c08c203fb0381 (patch) | |
tree | d510003359f21fe20431d02737a77bb62a212c0e | |
parent | d8140b878eb317bda057468d969844f93a5d2d18 (diff) | |
download | linux-stable-d8e887661711d668f5926a3d849c08c203fb0381.tar.gz linux-stable-d8e887661711d668f5926a3d849c08c203fb0381.tar.bz2 linux-stable-d8e887661711d668f5926a3d849c08c203fb0381.zip |
crypto: hisilicon/qm - remove the update of flags
'qm_init_qp_status' is just a help function to initiate some 'QP' status.
'QP' status should be updated separately.
This patch removes the updating flags in 'QP' status.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/hisilicon/qm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 1923f153db18..530f23116d7c 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -757,7 +757,6 @@ static void qm_init_qp_status(struct hisi_qp *qp) qp_status->sq_tail = 0; qp_status->cq_head = 0; qp_status->cqc_phase = true; - atomic_set(&qp_status->flags, 0); atomic_set(&qp_status->used, 0); } |