Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci White space KNF nits.



details:   https://anonhg.NetBSD.org/src/rev/619124f165cb
branches:  trunk
changeset: 365935:619124f165cb
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed May 04 02:38:27 2022 +0000

description:
White space KNF nits.

diffstat:

 sys/dev/pci/if_vioif.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 9b4362bab06c -r 619124f165cb sys/dev/pci/if_vioif.c
--- a/sys/dev/pci/if_vioif.c    Tue May 03 22:18:16 2022 +0000
+++ b/sys/dev/pci/if_vioif.c    Wed May 04 02:38:27 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vioif.c,v 1.80 2022/04/16 18:15:22 andvar Exp $     */
+/*     $NetBSD: if_vioif.c,v 1.81 2022/05/04 02:38:27 simonb Exp $     */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.80 2022/04/16 18:15:22 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.81 2022/05/04 02:38:27 simonb Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -819,7 +819,7 @@
        uint64_t features, req_features;
        struct ifnet *ifp = &sc->sc_ethercom.ec_if;
        u_int softint_flags;
-       int r, i, nvqs=0, req_flags;
+       int r, i, nvqs = 0, req_flags;
        char xnamebuf[MAXCOMLEN];
 
        if (virtio_child(vsc) != NULL) {
@@ -1233,7 +1233,7 @@
         * 1. stop interrupt handlers by rxq_stopping and txq_stopping
         * 2. wait for stopping workqueue for packet processing
         */
-       for (i =0; i < sc->sc_act_nvq_pairs; i++) {
+       for (i = 0; i < sc->sc_act_nvq_pairs; i++) {
                txq = &sc->sc_txq[i];
                rxq = &sc->sc_rxq[i];
 



Home | Main Index | Thread Index | Old Index