Module Name:    src
Committed By:   christos
Date:           Wed Jan 29 21:11:39 UTC 2020

Modified Files:
        src/sys/dev/ic: gem.c

Log Message:
compile without INET


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/dev/ic/gem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/gem.c
diff -u src/sys/dev/ic/gem.c:1.125 src/sys/dev/ic/gem.c:1.126
--- src/sys/dev/ic/gem.c:1.125	Wed Jan 29 09:47:08 2020
+++ src/sys/dev/ic/gem.c	Wed Jan 29 16:11:38 2020
@@ -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 @@ gem_start(struct ifnet *ifp)
 	 * 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) {
 		/*

Reply via email to