Date: Fri, 3 Jun 2016 15:33:22 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301276 - head/sys/dev/nxge/xgehal Message-ID: <201606031533.u53FXMDV073674@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Fri Jun 3 15:33:21 2016 New Revision: 301276 URL: https://svnweb.freebsd.org/changeset/base/301276 Log: 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 Modified: head/sys/dev/nxge/xgehal/xgehal-device.c Modified: head/sys/dev/nxge/xgehal/xgehal-device.c ============================================================================== --- head/sys/dev/nxge/xgehal/xgehal-device.c Fri Jun 3 14:37:18 2016 (r301275) +++ head/sys/dev/nxge/xgehal/xgehal-device.c Fri Jun 3 15:33:21 2016 (r301276) @@ -3321,7 +3321,6 @@ __hal_update_bimodal(xge_hal_device_t *h 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606031533.u53FXMDV073674>