mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
nxge(4): Remove useless self-assignment.
Apparently the original implementation brought a self-assignment to work around some bogus lint issue that is not relevant anymore. CID: 1347070
This commit is contained in:
parent
a68789426a
commit
2aa858536f
1 changed files with 0 additions and 1 deletions
|
|
@ -3321,7 +3321,6 @@ __hal_update_bimodal(xge_hal_device_t *hldev, int ring_no)
|
|||
iwl_txcnt = (hldev->irq_workload_txcnt[ring_no] ?
|
||||
hldev->irq_workload_txcnt[ring_no] : 1);
|
||||
iwl_cnt = iwl_rxcnt + iwl_txcnt;
|
||||
iwl_cnt = iwl_cnt; /* just to remove the lint warning */
|
||||
|
||||
/*
|
||||
* we need to take hldev->config.isr_polling_cnt into account
|
||||
|
|
|
|||
Loading…
Reference in a new issue