mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 13:17:02 +07:00
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: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d0e6a8064c
commit
b45da3fcd7
@ -725,7 +725,6 @@ bnad_cq_process(struct bnad *bnad, struct bna_ccb *ccb, int budget)
|
||||
cmpl->valid = 0;
|
||||
BNA_QE_INDX_INC(ccb->producer_index, ccb->q_depth);
|
||||
}
|
||||
cmpl = &cq[ccb->producer_index];
|
||||
}
|
||||
|
||||
napi_gro_flush(&rx_ctrl->napi, false);
|
||||
|
Loading…
Reference in New Issue
Block a user