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 KNF. No functional change.



details:   https://anonhg.NetBSD.org/src/rev/ee12ea8d2364
branches:  trunk
changeset: 1023002:ee12ea8d2364
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Aug 19 08:53:21 2021 +0000

description:
KNF. No functional change.

diffstat:

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

diffs (38 lines):

diff -r 0b358e72d0f4 -r ee12ea8d2364 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Thu Aug 19 06:52:37 2021 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Thu Aug 19 08:53:21 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.84 2021/08/19 04:49:29 msaitoh Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.85 2021/08/19 08:53:21 msaitoh Exp $ */
 
 /******************************************************************************
 
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.84 2021/08/19 04:49:29 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ix_txrx.c,v 1.85 2021/08/19 08:53:21 msaitoh Exp $");
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -1565,7 +1565,7 @@
                         */
                        m_freem(mp);
                        rxbuf->buf = NULL;
-                        goto fail;
+                       goto fail;
                }
                bus_dmamap_sync(rxr->ptag->dt_dmat, rxbuf->pmap,
                    0, mp->m_pkthdr.len, BUS_DMASYNC_PREREAD);
@@ -2093,9 +2093,8 @@
                rxr->next_to_check = i;
 
                /* Now send to the stack or do LRO */
-               if (sendmp != NULL) {
+               if (sendmp != NULL)
                        ixgbe_rx_input(rxr, ifp, sendmp, ptype);
-               }
 
                /* Every 8 descriptors we go to refresh mbufs */
                if (processed == 8) {



Home | Main Index | Thread Index | Old Index