Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Rename variable. No functional change.



details:   https://anonhg.NetBSD.org/src/rev/a9de9aef0c70
branches:  trunk
changeset: 1023316:a9de9aef0c70
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Sep 03 08:43:23 2021 +0000

description:
Rename variable. No functional change.

diffstat:

 sys/dev/pci/ixgbe/ix_txrx.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 0f5144e61d58 -r a9de9aef0c70 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Fri Sep 03 01:23:33 2021 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Fri Sep 03 08:43:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.88 2021/08/26 09:03:47 msaitoh Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.89 2021/09/03 08:43:23 msaitoh Exp $ */
 
 /******************************************************************************
 
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.88 2021/08/26 09:03:47 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.89 2021/09/03 08:43:23 msaitoh Exp $");
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -1803,7 +1803,7 @@
        struct ixgbe_rx_buf     *rbuf, *nbuf;
        int                     i, nextp, processed = 0;
        u32                     staterr = 0;
-       u32                     count = 0;
+       u32                     loopcount = 0;
        u32                     limit = adapter->rx_process_limit;
        bool                    discard_multidesc = false;
 #ifdef RSS
@@ -1828,7 +1828,7 @@
         * layer.
         */
        for (i = rxr->next_to_check;
-            (count < limit) || (discard_multidesc == true);) {
+            (loopcount < limit) || (discard_multidesc == true);) {
 
                struct mbuf *sendmp, *mp;
                struct mbuf *newmp;
@@ -1850,7 +1850,7 @@
                if ((staterr & IXGBE_RXD_STAT_DD) == 0)
                        break;
 
-               count++;
+               loopcount++;
                sendmp = NULL;
                nbuf = NULL;
                rsc = 0;



Home | Main Index | Thread Index | Old Index