Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci No functional change:



details:   https://anonhg.NetBSD.org/src/rev/5efba1d161a0
branches:  trunk
changeset: 969919:5efba1d161a0
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Mar 05 15:40:06 2020 +0000

description:
No functional change:

 - Remove extra semicolon
 - Remove extra whitespace

diffstat:

 sys/dev/pci/if_ti.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 5e1a7903cf11 -r 5efba1d161a0 sys/dev/pci/if_ti.c
--- a/sys/dev/pci/if_ti.c       Thu Mar 05 15:36:39 2020 +0000
+++ b/sys/dev/pci/if_ti.c       Thu Mar 05 15:40:06 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ti.c,v 1.118 2020/03/05 15:36:39 msaitoh Exp $ */
+/* $NetBSD: if_ti.c,v 1.119 2020/03/05 15:40:06 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.118 2020/03/05 15:36:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.119 2020/03/05 15:40:06 msaitoh Exp $");
 
 #include "opt_inet.h"
 
@@ -906,7 +906,7 @@
        for (i = 0; i < TI_SSLOTS; i++) {
                if (ti_newbuf_std(sc, i, NULL, 0) == ENOBUFS)
                        return (ENOBUFS);
-       };
+       }
 
        TI_UPDATE_STDPROD(sc, i - 1);
        sc->ti_std = i - 1;
@@ -944,7 +944,7 @@
        for (i = 0; i < TI_JUMBO_RX_RING_CNT; i++) {
                if (ti_newbuf_jumbo(sc, i, NULL) == ENOBUFS)
                        return (ENOBUFS);
-       };
+       }
 
        TI_UPDATE_JUMBOPROD(sc, i - 1);
        sc->ti_jumbo = i - 1;
@@ -977,7 +977,7 @@
        for (i = 0; i < TI_MSLOTS; i++) {
                if (ti_newbuf_mini(sc, i, NULL, 0) == ENOBUFS)
                        return (ENOBUFS);
-       };
+       }
 
        TI_UPDATE_MINIPROD(sc, i - 1);
        sc->ti_mini = i - 1;
@@ -2196,7 +2196,7 @@
 
        TI_CDSTATSSYNC(sc, BUS_DMASYNC_POSTREAD);
 
-       uint64_t collisions = 
+       uint64_t collisions =
           (sc->ti_rdata->ti_info.ti_stats.dot3StatsSingleCollisionFrames +
            sc->ti_rdata->ti_info.ti_stats.dot3StatsMultipleCollisionFrames +
            sc->ti_rdata->ti_info.ti_stats.dot3StatsExcessiveCollisions +



Home | Main Index | Thread Index | Old Index