From: Weili Qian Date: Sat, 19 Sep 2020 11:01:36 +0000 (+0800) Subject: crypto: hisilicon/qm - remove the update of flags X-Git-Tag: v5.15~2545^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8e887661711d668f5926a3d849c08c203fb0381;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Zhou Wang Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 1923f15..530f231 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); }