RDMA/cxgb4: Remove useless assignments

If go to the err label, abort will be assigned a value of 1, so there is
no need to assign a value of 1 here.

Link: https://lore.kernel.org/r/1621503577-18093-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
Tian Tao 2021-05-20 17:39:37 +08:00 committed by Jason Gunthorpe
parent 12a7a99662
commit 800de3f557
1 changed files with 0 additions and 1 deletions

View File

@ -1963,7 +1963,6 @@ int c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp,
t4_set_wq_in_error(&qhp->wq, 0); t4_set_wq_in_error(&qhp->wq, 0);
set_state(qhp, C4IW_QP_STATE_ERROR); set_state(qhp, C4IW_QP_STATE_ERROR);
if (!internal) { if (!internal) {
abort = 1;
disconnect = 1; disconnect = 1;
ep = qhp->ep; ep = qhp->ep;
c4iw_get_ep(&qhp->ep->com); c4iw_get_ep(&qhp->ep->com);