Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic compile without INET



details:   https://anonhg.NetBSD.org/src/rev/156a98f3a224
branches:  trunk
changeset: 744330:156a98f3a224
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 29 21:11:38 2020 +0000

description:
compile without INET

diffstat:

 sys/dev/ic/gem.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r fd9ca9db5540 -r 156a98f3a224 sys/dev/ic/gem.c
--- a/sys/dev/ic/gem.c  Wed Jan 29 21:11:24 2020 +0000
+++ b/sys/dev/ic/gem.c  Wed Jan 29 21:11:38 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gem.c,v 1.125 2020/01/29 14:47:08 thorpej Exp $ */
+/*     $NetBSD: gem.c,v 1.126 2020/01/29 21:11:38 christos Exp $ */
 
 /*
  *
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.125 2020/01/29 14:47:08 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.126 2020/01/29 21:11:38 christos Exp $");
 
 #include "opt_inet.h"
 
@@ -1388,7 +1388,9 @@
         * until we drain the queue, or use up all available transmit
         * descriptors.
         */
+#ifdef INET
 next:
+#endif
        while ((txs = SIMPLEQ_FIRST(&sc->sc_txfreeq)) != NULL &&
            sc->sc_txfree != 0) {
                /*



Home | Main Index | Thread Index | Old Index