Skip to content

Commit d8e8876

Browse files
Weili Qianherbertx
authored andcommitted
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>
1 parent d8140b8 commit d8e8876

File tree

1 file changed

+0
-1
lines changed
  • drivers/crypto/hisilicon

1 file changed

+0
-1
lines changed

drivers/crypto/hisilicon/qm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ static void qm_init_qp_status(struct hisi_qp *qp)
757757
qp_status->sq_tail = 0;
758758
qp_status->cq_head = 0;
759759
qp_status->cqc_phase = true;
760-
atomic_set(&qp_status->flags, 0);
761760
atomic_set(&qp_status->used, 0);
762761
}
763762

0 commit comments

Comments
 (0)