Module Name: src
Committed By: thorpej
Date: Sat Sep 17 19:46:59 UTC 2022
Modified Files:
src/sys/arch/arm/gemini: if_gmc.c
Log Message:
Eliminate use of IFF_OACTIVE. (In this driver, it was set in one
location, and never tested or cleared. &shrug;)
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/gemini/if_gmc.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/arch/arm/gemini/if_gmc.c
diff -u src/sys/arch/arm/gemini/if_gmc.c:1.14 src/sys/arch/arm/gemini/if_gmc.c:1.15
--- src/sys/arch/arm/gemini/if_gmc.c:1.14 Sat Aug 20 18:35:50 2022
+++ src/sys/arch/arm/gemini/if_gmc.c Sat Sep 17 19:46:59 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: if_gmc.c,v 1.14 2022/08/20 18:35:50 thorpej Exp $ */
+/* $NetBSD: if_gmc.c,v 1.15 2022/09/17 19:46:59 thorpej Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -47,7 +47,7 @@
#include <net/if_ether.h>
#include <net/if_dl.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.14 2022/08/20 18:35:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gmc.c,v 1.15 2022/09/17 19:46:59 thorpej Exp $");
#define MAX_TXSEG 32
@@ -397,7 +397,6 @@ gmc_ifstart(struct ifnet *ifp)
if (m == NULL)
break;
if (!gmc_txqueue(sc, sc->sc_txq[0], m)) {
- ifp->if_flags |= IFF_OACTIVE;
break;
}
IF_DEQUEUE(&ifp->if_snd, m);