nvmf/vfio-user: remove duplicated one line

The submission queue doorbell will be cleared to 0 at the end
of this function.

Change-Id: I0146f3dc208b8ca1d7fec4b2dae1d7395f304444
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8992
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
This commit is contained in:
Changpeng Liu 2021-08-06 16:57:59 +08:00
parent 42abbac90e
commit 40c447f843

View File

@ -677,7 +677,7 @@ asq_setup(struct nvmf_vfio_user_ctrlr *ctrlr)
sq = &ctrlr->qp[0]->sq; sq = &ctrlr->qp[0]->sq;
sq->size = regs->aqa.bits.asqs + 1; sq->size = regs->aqa.bits.asqs + 1;
sq->prp1 = regs->asq; sq->prp1 = regs->asq;
sq->head = ctrlr->doorbells[0] = 0; sq->head = 0;
sq->cqid = 0; sq->cqid = 0;
sq->is_cq = false; sq->is_cq = false;