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:
Pedro F. Giffuni 2016-06-03 15:33:21 +00:00
parent a68789426a
commit 2aa858536f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301276

View File

@ -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