Commit b45da3fc authored by Ivan Vecera's avatar Ivan Vecera Committed by David S. Miller

bna: remove useless pointer assignment

Pointer cmpl used to iterate through completion entries is updated at
the beginning of while loop as well as at the end. The update at the end
of the loop is useless.
Signed-off-by: default avatarIvan Vecera <ivecera@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d0e6a806
...@@ -725,7 +725,6 @@ bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget) ...@@ -725,7 +725,6 @@ bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget)
cmpl->valid = 0; cmpl->valid = 0;
BNA_QE_INDX_INC(ccb->producer_index, ccb->q_depth); BNA_QE_INDX_INC(ccb->producer_index, ccb->q_depth);
} }
cmpl = &cq[ccb->producer_index];
} }
napi_gro_flush(&rx_ctrl->napi, false); napi_gro_flush(&rx_ctrl->napi, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment