diff options
author | pfg <pfg@FreeBSD.org> | 2016-06-03 15:33:21 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-06-03 15:33:21 +0000 |
commit | daeae55cad78cdb8d2696aaa3ee0107351fa66c7 (patch) | |
tree | 3a486a035ec25487cc692615dbb8bb3efadd0dd3 | |
parent | 3184a6cb731f764b0552a4901ca4f95ee41f6536 (diff) | |
download | FreeBSD-src-daeae55cad78cdb8d2696aaa3ee0107351fa66c7.zip FreeBSD-src-daeae55cad78cdb8d2696aaa3ee0107351fa66c7.tar.gz |
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
-rw-r--r-- | sys/dev/nxge/xgehal/xgehal-device.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/nxge/xgehal/xgehal-device.c b/sys/dev/nxge/xgehal/xgehal-device.c index 10cd5f3..b211c04 100644 --- a/sys/dev/nxge/xgehal/xgehal-device.c +++ b/sys/dev/nxge/xgehal/xgehal-device.c @@ -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 |