summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixgbe
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2008-11-27 02:19:44 +0000
committerjfv <jfv@FreeBSD.org>2008-11-27 02:19:44 +0000
commit1a21be4a1f1ae5ae1b90169ba8f944296d896323 (patch)
tree18c577fae5ed0abcdc199b428cb626e8102c815a /sys/dev/ixgbe
parentb9deff6e4e67a63db076ea4e7c3ff876da60f07a (diff)
downloadFreeBSD-src-1a21be4a1f1ae5ae1b90169ba8f944296d896323.zip
FreeBSD-src-1a21be4a1f1ae5ae1b90169ba8f944296d896323.tar.gz
Small nit I just noticed, a pre-decrement should be post.
Diffstat (limited to 'sys/dev/ixgbe')
-rw-r--r--sys/dev/ixgbe/ixgbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c
index 81100fa..3b71cb6 100644
--- a/sys/dev/ixgbe/ixgbe.c
+++ b/sys/dev/ixgbe/ixgbe.c
@@ -3244,7 +3244,7 @@ fail:
* the rings that completed, the failing case will have
* cleaned up for itself. 'j' failed, so its the terminus.
*/
- for (int i = 0; i < j; ++i) {
+ for (int i = 0; i < j; i++) {
rxr = &adapter->rx_rings[i];
for (int n = 0; n < adapter->num_rx_desc; n++) {
struct ixgbe_rx_buf *rxbuf;
OpenPOWER on IntegriCloud