From 2aa858536fc9bb7e223977ebbb0fe12493e0da9b Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Fri, 3 Jun 2016 15:33:21 +0000 Subject: [PATCH] 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 --- sys/dev/nxge/xgehal/xgehal-device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/nxge/xgehal/xgehal-device.c b/sys/dev/nxge/xgehal/xgehal-device.c index 10cd5f31041..b211c04811c 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